#2C2EAF#2C2EAF
#2C2EAF is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.197 H 272.4°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2EAF |
|---|---|
| RGB | rgb(44, 46, 175) |
| HSL | hsl(239, 60%, 43%) |
| HSV | hsv(239, 75%, 69%) |
| CMYK | cmyk(74.9%, 73.7%, 0%, 31.4%) |
| CIE-LAB | lab(28.34, 42.96, -68.11) |
| CIE-LCH | lch(28.34, 80.53, 302.24°) |
| OKLab | oklab(40.04% 0.0083 -0.1971) |
| OKLCH | oklch(40.04% 0.197 272.4) |
| XYZ | xyz(9.7510, 5.5836, 41.1130) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.32
Indigo Blue
#3A18B1
ΔE00 4.63
True Blue
#010FCC
ΔE00 5.83
Blue Blue
#2242C7
ΔE00 6.30
Ocean Blue
#4F42B5
ΔE00 6.36
Blue With A Hint Of Purple
#533CC6
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2EAF #AFAD2C
analogous
#2C6FAF #2C2EAF #6B2CAF
triadic
#2C2EAF #AF2C2E #2EAF2C
tetradic
#2C2EAF #AF2C6F #AFAD2C #2CAF6B
square
#2C2EAF #AF2C6F #AFAD2C #2CAF6B
split-complementary
#2C2EAF #AF6B2C #6FAF2C
monochromatic
#13144D #20217E #2C2EAF #4749D1 #787ADD
Accessibility & contrast
On white
9.92
#2C2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2C2EAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2EAF
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2EAF | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2c2eaf; /* rgb */ color: rgb(44, 46, 175); /* oklch */ color: oklch(40.0% 0.197 272.4);
Tailwind
colors: {
custom: {
50: '#7b68c8',
500: '#2c2eaf',
950: '#000000',
},
}SCSS
$custom: #2c2eaf; $custom-light: #7b68c8; $custom-dark: #000000;
JSON
{
"hex": "#2c2eaf",
"rgb": {
"r": 44,
"g": 46,
"b": 175
},
"hsl": {
"h": 239.084,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.40037,
"c": 0.19729,
"h": 272.4
},
"luminance": 0.05585
}Semantic roles & 50–950 ramp
primary
#2C2EAF
secondary
#C5C472
accent
#E145E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82