Skip to content

#c0dfef

a light, vivid blue · cool · closest name: lavender

RGB
192, 223, 239
HSL
200°, 60%, 85%
CMYK
20, 7, 0, 6
Luminance
0.7021

Every format

HEX#c0dfef
RGBrgb(192, 223, 239)
HSLhsl(200, 60%, 85%)
CMYKcmyk(20%, 7%, 0%, 6%)
LABlab(87.1 -6.8 -11.2)
LCHlch(87.1 13.1 238.6)
OKLCHoklch(0.886 0.040 230.2)

Copy-ready code

/* CSS */
color: #c0dfef;
background-color: #c0dfef;
/* Tailwind (arbitrary) */
class="text-[#c0dfef] bg-[#c0dfef]"
/* SCSS */
$brand: #c0dfef;
/* SwiftUI */
Color(red: 0.753, green: 0.875, blue: 0.937)
/* Android */
Color.parseColor("#c0dfef")

Accessibility — WCAG contrast

Aa
#c0dfef on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#c0dfef on black: 15.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green87.5%
Blue93.7%

CMYK percentages

Cyan19.7%
Magenta6.7%
Yellow0.0%
Key (black)6.3%

Color previews

#c0dfef text on a black background

contrast 15.04:1

Card sample

#c0dfef text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #c0dfef;
Background color
Panel with #c0dfef background
background-color: #c0dfef;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #c0dfef;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(192, 223, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 223, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0dfef;
background: linear-gradient(135deg, #c0dfef, #C0C0EF);

Monochromatic scale

Palettes built from #c0dfef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0dfef in the Color Lab