#2C3EAF#2C3EAF
#2C3EAF is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.180 H 269.8°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3EAF |
|---|---|
| RGB | rgb(44, 62, 175) |
| HSL | hsl(232, 60%, 43%) |
| HSV | hsv(232, 75%, 69%) |
| CMYK | cmyk(74.9%, 64.6%, 0%, 31.4%) |
| CIE-LAB | lab(31.98, 33.09, -62.13) |
| CIE-LCH | lch(31.98, 70.39, 298.04°) |
| OKLab | oklab(42.67% -0.0006 -0.1796) |
| OKLCH | oklch(42.67% 0.18 269.8) |
| XYZ | xyz(10.4965, 7.0747, 41.3615) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.87
Blue Blue
#2242C7
ΔE00 3.30
Ocean Blue
#4F42B5
ΔE00 4.78
Cobalt
#0047AB
ΔE00 5.12
Blueberry
#464196
ΔE00 5.26
Blue (survey)
#0343DF
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3EAF #AF9D2C
analogous
#2C7FAF #2C3EAF #5C2CAF
triadic
#2C3EAF #AF2C3E #3EAF2C
tetradic
#2C3EAF #AF2C7F #AF9D2C #2CAF5C
square
#2C3EAF #AF2C7F #AF9D2C #2CAF5C
split-complementary
#2C3EAF #AF5C2C #7FAF2C
monochromatic
#131B4D #202D7E #2C3EAF #475AD1 #7886DD
Accessibility & contrast
On white
8.69
#2C3EAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2C3EAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3EAF
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3EAF | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2c3eaf; /* rgb */ color: rgb(44, 62, 175); /* oklch */ color: oklch(42.7% 0.180 269.8);
Tailwind
colors: {
custom: {
50: '#7973c8',
500: '#2c3eaf',
950: '#000000',
},
}SCSS
$custom: #2c3eaf; $custom-light: #7973c8; $custom-dark: #000000;
JSON
{
"hex": "#2c3eaf",
"rgb": {
"r": 44,
"g": 62,
"b": 175
},
"hsl": {
"h": 231.756,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.42671,
"c": 0.17962,
"h": 269.8
},
"luminance": 0.07076
}Semantic roles & 50–950 ramp
primary
#2C3EAF
secondary
#C5BA72
accent
#CD45E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82