#2A3E89#2A3E89
#2A3E89 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.127 H 268.7°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3E89 |
|---|---|
| RGB | rgb(42, 62, 137) |
| HSL | hsl(227, 53%, 35%) |
| HSV | hsv(227, 69%, 54%) |
| CMYK | cmyk(69.3%, 54.7%, 0%, 46.3%) |
| CIE-LAB | lab(28.75, 18.57, -44.30) |
| CIE-LCH | lch(28.75, 48.04, 292.74°) |
| OKLab | oklab(39.27% -0.003 -0.1273) |
| OKLCH | oklch(39.27% 0.127 268.7) |
| XYZ | xyz(7.1913, 5.7429, 24.3916) |
| Luminance | 0.0574 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.47
Blueberry
#464196
ΔE00 5.19
Darkish Blue
#014182
ΔE00 5.25
Sapphire (survey)
#2138AB
ΔE00 5.77
Darkslateblue
#483D8B
ΔE00 5.93
Cobalt
#0047AB
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3E89 #89752A
analogous
#2A6E89 #2A3E89 #452A89
triadic
#2A3E89 #892A3E #3E892A
tetradic
#2A3E89 #892A6E #89752A #2A8945
square
#2A3E89 #892A6E #89752A #2A8945
split-complementary
#2A3E89 #89452A #6E892A
monochromatic
#0D142B #1C295A #2A3E89 #3853B8 #5F77CE
Accessibility & contrast
On white
9.77
#2A3E89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2A3E89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3E89
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3E89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3E89 | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A488C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a3e89; /* rgb */ color: rgb(42, 62, 137); /* oklch */ color: oklch(39.3% 0.127 268.7);
Tailwind
colors: {
custom: {
50: '#7072ac',
500: '#2a3e89',
950: '#000000',
},
}SCSS
$custom: #2a3e89; $custom-light: #7072ac; $custom-dark: #000000;
JSON
{
"hex": "#2a3e89",
"rgb": {
"r": 42,
"g": 62,
"b": 137
},
"hsl": {
"h": 227.368,
"s": 53.073,
"l": 35.098
},
"oklch": {
"l": 0.39272,
"c": 0.12737,
"h": 268.7
},
"luminance": 0.05744
}Semantic roles & 50–950 ramp
primary
#2A3E89
secondary
#B4A15B
accent
#BE4BDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F