#2C2DAF#2C2DAF
#2C2DAF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.9% C 0.198 H 272.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2DAF |
|---|---|
| RGB | rgb(44, 45, 175) |
| HSL | hsl(240, 60%, 43%) |
| HSV | hsv(240, 75%, 69%) |
| CMYK | cmyk(74.9%, 74.3%, 0%, 31.4%) |
| CIE-LAB | lab(28.13, 43.54, -68.45) |
| CIE-LCH | lch(28.13, 81.12, 302.46°) |
| OKLab | oklab(39.89% 0.0088 -0.1981) |
| OKLCH | oklch(39.89% 0.198 272.5) |
| XYZ | xyz(9.7124, 5.5064, 41.1001) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.55
Indigo Blue
#3A18B1
ΔE00 4.39
True Blue
#010FCC
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 6.51
Ocean Blue
#4F42B5
ΔE00 6.53
Royal
#0C1793
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2DAF #AFAE2C
analogous
#2C6EAF #2C2DAF #6C2CAF
triadic
#2C2DAF #AF2C2D #2DAF2C
tetradic
#2C2DAF #AF2C6E #AFAE2C #2CAF6C
square
#2C2DAF #AF2C6E #AFAE2C #2CAF6C
split-complementary
#2C2DAF #AF6C2C #6EAF2C
monochromatic
#13144D #20207E #2C2DAF #4748D1 #7879DD
Accessibility & contrast
On white
9.99
#2C2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#2C2DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2DAF
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2DAF | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2c2daf; /* rgb */ color: rgb(44, 45, 175); /* oklch */ color: oklch(39.9% 0.198 272.5);
Tailwind
colors: {
custom: {
50: '#7b68c8',
500: '#2c2daf',
950: '#000000',
},
}SCSS
$custom: #2c2daf; $custom-light: #7b68c8; $custom-dark: #000000;
JSON
{
"hex": "#2c2daf",
"rgb": {
"r": 44,
"g": 45,
"b": 175
},
"hsl": {
"h": 239.542,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.39891,
"c": 0.19829,
"h": 272.5
},
"luminance": 0.05507
}Semantic roles & 50–950 ramp
primary
#2C2DAF
secondary
#C5C472
accent
#E245E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82