#2A3B91#2A3B91
#2A3B91 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.143 H 270.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3B91 |
|---|---|
| RGB | rgb(42, 59, 145) |
| HSL | hsl(230, 55%, 37%) |
| HSV | hsv(230, 71%, 57%) |
| CMYK | cmyk(71%, 59.3%, 0%, 43.1%) |
| CIE-LAB | lab(28.55, 23.65, -49.57) |
| CIE-LCH | lch(28.55, 54.93, 295.51°) |
| OKLab | oklab(39.31% 0.0001 -0.1429) |
| OKLCH | oklch(39.31% 0.143 270) |
| XYZ | xyz(7.6279, 5.6638, 27.4738) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.08
Blueberry
#464196
ΔE00 4.51
Darkslateblue
#483D8B
ΔE00 5.43
Cobalt (survey)
#1E488F
ΔE00 5.70
Cobalt
#0047AB
ΔE00 5.96
Darkish Blue
#014182
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3B91 #91802A
analogous
#2A6F91 #2A3B91 #4D2A91
triadic
#2A3B91 #912A3B #3B912A
tetradic
#2A3B91 #912A6F #91802A #2A914D
square
#2A3B91 #912A6F #91802A #2A914D
split-complementary
#2A3B91 #914D2A #6F912A
monochromatic
#0F1432 #1C2862 #2A3B91 #384EC0 #6376D2
Accessibility & contrast
On white
9.85
#2A3B91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2A3B91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3B91
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3B91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3B91 | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a3b91; /* rgb */ color: rgb(42, 59, 145); /* oklch */ color: oklch(39.3% 0.143 270.0);
Tailwind
colors: {
custom: {
50: '#7270b2',
500: '#2a3b91',
950: '#000000',
},
}SCSS
$custom: #2a3b91; $custom-light: #7270b2; $custom-dark: #000000;
JSON
{
"hex": "#2a3b91",
"rgb": {
"r": 42,
"g": 59,
"b": 145
},
"hsl": {
"h": 230.097,
"s": 55.08,
"l": 36.667
},
"oklch": {
"l": 0.39313,
"c": 0.14287,
"h": 270
},
"luminance": 0.05665
}Semantic roles & 50–950 ramp
primary
#2A3B91
secondary
#B8A95F
accent
#C649DE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80