#2A3E9D#2A3E9D
#2A3E9D is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.156 H 269.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3E9D |
|---|---|
| RGB | rgb(42, 62, 157) |
| HSL | hsl(230, 58%, 39%) |
| HSV | hsv(230, 73%, 62%) |
| CMYK | cmyk(73.2%, 60.5%, 0%, 38.4%) |
| CIE-LAB | lab(30.33, 26.17, -54.00) |
| CIE-LCH | lch(30.33, 60.01, 295.85°) |
| OKLab | oklab(40.95% -0.0022 -0.1558) |
| OKLCH | oklch(40.95% 0.156 269.2) |
| XYZ | xyz(8.7612, 6.3709, 32.6597) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.88
Blueberry
#464196
ΔE00 4.46
Cobalt
#0047AB
ΔE00 4.67
Cobalt (survey)
#1E488F
ΔE00 5.50
Blue Blue
#2242C7
ΔE00 5.75
Darkslateblue
#483D8B
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3E9D #9D892A
analogous
#2A789D #2A3E9D #502A9D
triadic
#2A3E9D #9D2A3E #3E9D2A
tetradic
#2A3E9D #9D2A78 #9D892A #2A9D50
square
#2A3E9D #9D2A78 #9D892A #2A9D50
split-complementary
#2A3E9D #9D502A #789D2A
monochromatic
#10183C #1D2B6D #2A3E9D #3A53CA #6A7DD7
Accessibility & contrast
On white
9.23
#2A3E9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2A3E9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3E9D
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3E9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3E9D | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a3e9d; /* rgb */ color: rgb(42, 62, 157); /* oklch */ color: oklch(40.9% 0.156 269.2);
Tailwind
colors: {
custom: {
50: '#7473bb',
500: '#2a3e9d',
950: '#000000',
},
}SCSS
$custom: #2a3e9d; $custom-light: #7473bb; $custom-dark: #000000;
JSON
{
"hex": "#2a3e9d",
"rgb": {
"r": 42,
"g": 62,
"b": 157
},
"hsl": {
"h": 229.565,
"s": 57.789,
"l": 39.02
},
"oklch": {
"l": 0.40948,
"c": 0.15585,
"h": 269.2
},
"luminance": 0.06372
}Semantic roles & 50–950 ramp
primary
#2A3E9D
secondary
#BEAE65
accent
#C647E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81