#2A3E91#2A3E91
#2A3E91 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.139 H 269.0°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3E91 |
|---|---|
| RGB | rgb(42, 62, 145) |
| HSL | hsl(228, 55%, 37%) |
| HSV | hsv(228, 71%, 57%) |
| CMYK | cmyk(71%, 57.2%, 0%, 43.1%) |
| CIE-LAB | lab(29.36, 21.62, -48.25) |
| CIE-LCH | lch(29.36, 52.87, 294.14°) |
| OKLab | oklab(39.92% -0.0025 -0.1389) |
| OKLCH | oklch(39.92% 0.139 269) |
| XYZ | xyz(7.7865, 5.9811, 27.5267) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.55
Blueberry
#464196
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 4.70
Cobalt
#0047AB
ΔE00 5.25
Darkslateblue
#483D8B
ΔE00 5.78
Darkish Blue
#014182
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3E91 #917D2A
analogous
#2A7291 #2A3E91 #4A2A91
triadic
#2A3E91 #912A3E #3E912A
tetradic
#2A3E91 #912A72 #917D2A #2A914A
square
#2A3E91 #912A72 #917D2A #2A914A
split-complementary
#2A3E91 #914A2A #72912A
monochromatic
#0F1532 #1C2A62 #2A3E91 #3852C0 #6379D2
Accessibility & contrast
On white
9.56
#2A3E91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2A3E91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3E91
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3E91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3E91 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2a3e91; /* rgb */ color: rgb(42, 62, 145); /* oklch */ color: oklch(39.9% 0.139 269.0);
Tailwind
colors: {
custom: {
50: '#7172b2',
500: '#2a3e91',
950: '#000000',
},
}SCSS
$custom: #2a3e91; $custom-light: #7172b2; $custom-dark: #000000;
JSON
{
"hex": "#2a3e91",
"rgb": {
"r": 42,
"g": 62,
"b": 145
},
"hsl": {
"h": 228.35,
"s": 55.08,
"l": 36.667
},
"oklch": {
"l": 0.39924,
"c": 0.13895,
"h": 269
},
"luminance": 0.05982
}Semantic roles & 50–950 ramp
primary
#2A3E91
secondary
#B8A75F
accent
#C149DE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80