#CDCDF2#CDCDF2
#CDCDF2 is a very light, muted blue. Relative luminance 0.631; OKLCH L 86.0% C 0.051 H 285.3°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).
Color values
| HEX | #CDCDF2 |
|---|---|
| RGB | rgb(205, 205, 242) |
| HSL | hsl(240, 59%, 88%) |
| HSV | hsv(240, 15%, 95%) |
| CMYK | cmyk(15.3%, 15.3%, 0%, 5.1%) |
| CIE-LAB | lab(83.47, 7.28, -18.15) |
| CIE-LCH | lch(83.47, 19.55, 291.84°) |
| OKLab | oklab(86.02% 0.0135 -0.0492) |
| OKLCH | oklch(86.02% 0.051 285.3) |
| XYZ | xyz(63.0316, 63.0519, 92.8366) |
| Luminance | 0.6305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle
#CCCCFF
ΔE00 3.61
Light Periwinkle
#C1C6FC
ΔE00 5.10
Pale Lilac
#E4CBFF
ΔE00 7.66
Lavender (CSS)
#E6E6FA
ΔE00 7.85
Light Lavender
#DFC5FE
ΔE00 7.89
Light Blue Grey
#B7C9E2
ΔE00 9.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDCDF2 #F2F2CD
analogous
#CDDFF2 #CDCDF2 #DFCDF2
triadic
#CDCDF2 #F2CDCD #CDF2CD
tetradic
#CDCDF2 #F2CDDF #F2F2CD #CDF2DF
square
#CDCDF2 #F2CDDF #F2F2CD #CDF2DF
split-complementary
#CDCDF2 #F2DFCD #DFF2CD
monochromatic
#6C6CD9 #9C9CE5 #CDCDF2 #E7E7F9 #E7E7F9
Accessibility & contrast
On white
1.54
#CDCDF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.61
#CDCDF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDCDF2
13.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDCDF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDCDF2 | 1.00 | 1.54 | 13.61 | 13.61 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4D1F4
Deuteranopia (green-blind)
#C3CFF1
Tritanopia (blue-blind)
#C5D3D9
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #cdcdf2; /* rgb */ color: rgb(205, 205, 242); /* oklch */ color: oklch(86.0% 0.051 285.3);
Tailwind
colors: {
custom: {
50: '#dcdcf6',
500: '#cdcdf2',
950: '#000000',
},
}SCSS
$custom: #cdcdf2; $custom-light: #dcdcf6; $custom-dark: #000000;
JSON
{
"hex": "#cdcdf2",
"rgb": {
"r": 205,
"g": 205,
"b": 242
},
"hsl": {
"h": 240,
"s": 58.73,
"l": 87.647
},
"oklch": {
"l": 0.86018,
"c": 0.05105,
"h": 285.3
},
"luminance": 0.63053
}Semantic roles & 50–950 ramp
primary
#CDCDF2
secondary
#D1D192
accent
#C61FC6
background
#FEFEFF
surface
#FCFCFE
border
#D5D5D6
text
#151517
muted
#848485