#2A3E9E#2A3E9E
#2A3E9E is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.157 H 269.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3E9E |
|---|---|
| RGB | rgb(42, 62, 158) |
| HSL | hsl(230, 58%, 39%) |
| HSV | hsv(230, 73%, 62%) |
| CMYK | cmyk(73.4%, 60.8%, 0%, 38%) |
| CIE-LAB | lab(30.41, 26.54, -54.47) |
| CIE-LCH | lch(30.41, 60.59, 295.98°) |
| OKLab | oklab(41.04% -0.0022 -0.1572) |
| OKLCH | oklch(41.04% 0.157 269.2) |
| XYZ | xyz(8.8469, 6.4052, 33.1112) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.76
Blueberry
#464196
ΔE00 4.48
Cobalt
#0047AB
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 5.59
Blue Blue
#2242C7
ΔE00 5.60
Darkslateblue
#483D8B
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3E9E #9E8A2A
analogous
#2A789E #2A3E9E #502A9E
triadic
#2A3E9E #9E2A3E #3E9E2A
tetradic
#2A3E9E #9E2A78 #9E8A2A #2A9E50
square
#2A3E9E #9E2A78 #9E8A2A #2A9E50
split-complementary
#2A3E9E #9E502A #789E2A
monochromatic
#10183D #1D2B6E #2A3E9E #3A53CB #6B7ED8
Accessibility & contrast
On white
9.21
#2A3E9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2A3E9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3E9E
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3E9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3E9E | 1.00 | 9.21 | 2.28 | 9.21 |
| #FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a3e9e; /* rgb */ color: rgb(42, 62, 158); /* oklch */ color: oklch(41.0% 0.157 269.2);
Tailwind
colors: {
custom: {
50: '#7473bb',
500: '#2a3e9e',
950: '#000000',
},
}SCSS
$custom: #2a3e9e; $custom-light: #7473bb; $custom-dark: #000000;
JSON
{
"hex": "#2a3e9e",
"rgb": {
"r": 42,
"g": 62,
"b": 158
},
"hsl": {
"h": 229.655,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.41035,
"c": 0.15724,
"h": 269.2
},
"luminance": 0.06406
}Semantic roles & 50–950 ramp
primary
#2A3E9E
secondary
#BEAF66
accent
#C747E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81