#2C3EAA#2C3EAA
#2C3EAA is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.2% C 0.173 H 269.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2C3EAA |
|---|---|
| RGB | rgb(44, 62, 170) |
| HSL | hsl(231, 59%, 42%) |
| HSV | hsv(231, 74%, 67%) |
| CMYK | cmyk(74.1%, 63.5%, 0%, 33.3%) |
| CIE-LAB | lab(31.54, 31.26, -59.86) |
| CIE-LCH | lch(31.54, 67.53, 297.57°) |
| OKLab | oklab(42.21% -0.0004 -0.173) |
| OKLCH | oklch(42.21% 0.173 269.9) |
| XYZ | xyz(10.0145, 6.8819, 38.8230) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.82
Blue Blue
#2242C7
ΔE00 3.94
Blueberry
#464196
ΔE00 4.87
Cobalt
#0047AB
ΔE00 4.92
Ocean Blue
#4F42B5
ΔE00 5.11
Darkslateblue
#483D8B
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C3EAA #AA982C
analogous
#2C7DAA #2C3EAA #592CAA
triadic
#2C3EAA #AA2C3E #3EAA2C
tetradic
#2C3EAA #AA2C7D #AA982C #2CAA59
square
#2C3EAA #AA2C7D #AA982C #2CAA59
split-complementary
#2C3EAA #AA592C #7DAA2C
monochromatic
#131B49 #1F2C79 #2C3EAA #4458CF #7584DB
Accessibility & contrast
On white
8.84
#2C3EAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2C3EAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C3EAA
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C3EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C3EAA | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0044A8
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c3eaa; /* rgb */ color: rgb(44, 62, 170); /* oklch */ color: oklch(42.2% 0.173 269.9);
Tailwind
colors: {
custom: {
50: '#7873c4',
500: '#2c3eaa',
950: '#000000',
},
}SCSS
$custom: #2c3eaa; $custom-light: #7873c4; $custom-dark: #000000;
JSON
{
"hex": "#2c3eaa",
"rgb": {
"r": 44,
"g": 62,
"b": 170
},
"hsl": {
"h": 231.429,
"s": 58.879,
"l": 41.961
},
"oklch": {
"l": 0.42212,
"c": 0.17298,
"h": 269.9
},
"luminance": 0.06883
}Semantic roles & 50–950 ramp
primary
#2C3EAA
secondary
#C3B76F
accent
#CC46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0813
muted
#7C7B82