#2A3F91#2A3F91
#2A3F91 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.138 H 268.6°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3F91 |
|---|---|
| RGB | rgb(42, 63, 145) |
| HSL | hsl(228, 55%, 37%) |
| HSV | hsv(228, 71%, 57%) |
| CMYK | cmyk(71%, 56.6%, 0%, 43.1%) |
| CIE-LAB | lab(29.64, 20.94, -47.80) |
| CIE-LCH | lch(29.64, 52.19, 293.66°) |
| OKLab | oklab(40.13% -0.0034 -0.1376) |
| OKLCH | oklch(40.13% 0.138 268.6) |
| XYZ | xyz(7.8414, 6.0908, 27.5450) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.37
Sapphire (survey)
#2138AB
ΔE00 4.74
Blueberry
#464196
ΔE00 4.75
Cobalt
#0047AB
ΔE00 5.04
Darkish Blue
#014182
ΔE00 5.60
Darkslateblue
#483D8B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3F91 #917C2A
analogous
#2A7391 #2A3F91 #492A91
triadic
#2A3F91 #912A3F #3F912A
tetradic
#2A3F91 #912A73 #917C2A #2A9149
square
#2A3F91 #912A73 #917C2A #2A9149
split-complementary
#2A3F91 #91492A #73912A
monochromatic
#0F1632 #1C2A62 #2A3F91 #3854C0 #637AD2
Accessibility & contrast
On white
9.47
#2A3F91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2A3F91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3F91
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3F91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3F91 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a3f91; /* rgb */ color: rgb(42, 63, 145); /* oklch */ color: oklch(40.1% 0.138 268.6);
Tailwind
colors: {
custom: {
50: '#7173b2',
500: '#2a3f91',
950: '#000000',
},
}SCSS
$custom: #2a3f91; $custom-light: #7173b2; $custom-dark: #000000;
JSON
{
"hex": "#2a3f91",
"rgb": {
"r": 42,
"g": 63,
"b": 145
},
"hsl": {
"h": 227.767,
"s": 55.08,
"l": 36.667
},
"oklch": {
"l": 0.40131,
"c": 0.13764,
"h": 268.6
},
"luminance": 0.06092
}Semantic roles & 50–950 ramp
primary
#2A3F91
secondary
#B8A65F
accent
#C049DE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80