Skip to content

#c0c5df

a light, soft blue · warm · closest name: lavender

RGB
192, 197, 223
HSL
230°, 33%, 81%
CMYK
14, 12, 0, 13
Luminance
0.5647

Every format

HEX#c0c5df
RGBrgb(192, 197, 223)
HSLhsl(230, 33%, 81%)
CMYKcmyk(14%, 12%, 0%, 13%)
LABlab(79.9 3.4 -13.5)
LCHlch(79.9 13.9 284.3)
OKLCHoklch(0.828 0.037 276.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0c5df on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#c0c5df on black: 12.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green77.3%
Blue87.5%

CMYK percentages

Cyan13.9%
Magenta11.7%
Yellow0.0%
Key (black)12.5%

Color previews

#c0c5df text on a black background

contrast 12.29:1

Card sample

#c0c5df text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0c5df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0c5df in the Color Lab