Skip to content

#c0c7df

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

RGB
192, 199, 223
HSL
227°, 33%, 81%
CMYK
14, 11, 0, 13
Luminance
0.5738

Every format

HEX#c0c7df
RGBrgb(192, 199, 223)
HSLhsl(227, 33%, 81%)
CMYKcmyk(14%, 11%, 0%, 13%)
LABlab(80.4 2.4 -12.7)
LCHlch(80.4 12.9 280.6)
OKLCHoklch(0.832 0.034 272.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0c7df on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#c0c7df on black: 12.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green78.0%
Blue87.5%

CMYK percentages

Cyan13.9%
Magenta10.8%
Yellow0.0%
Key (black)12.5%

Color previews

#c0c7df text on a black background

contrast 12.48:1

Card sample

#c0c7df text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c0c7df

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0c7df in the Color Lab