#2A3E9B#2A3E9B
#2A3E9B is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.153 H 269.2°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3E9B |
|---|---|
| RGB | rgb(42, 62, 155) |
| HSL | hsl(229, 57%, 39%) |
| HSV | hsv(229, 73%, 61%) |
| CMYK | cmyk(72.9%, 60%, 0%, 39.2%) |
| CIE-LAB | lab(30.16, 25.41, -53.05) |
| CIE-LCH | lch(30.16, 58.83, 295.59°) |
| OKLab | oklab(40.77% -0.0022 -0.1531) |
| OKLCH | oklch(40.77% 0.153 269.2) |
| XYZ | xyz(8.5918, 6.3032, 31.7678) |
| Luminance | 0.0630 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.13
Blueberry
#464196
ΔE00 4.44
Cobalt
#0047AB
ΔE00 4.73
Cobalt (survey)
#1E488F
ΔE00 5.34
Darkslateblue
#483D8B
ΔE00 5.98
Blue Blue
#2242C7
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3E9B #9B872A
analogous
#2A769B #2A3E9B #4F2A9B
triadic
#2A3E9B #9B2A3E #3E9B2A
tetradic
#2A3E9B #9B2A76 #9B872A #2A9B4F
square
#2A3E9B #9B2A76 #9B872A #2A9B4F
split-complementary
#2A3E9B #9B4F2A #769B2A
monochromatic
#10173B #1D2B6B #2A3E9B #3952C9 #697CD6
Accessibility & contrast
On white
9.29
#2A3E9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2A3E9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3E9B
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3E9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3E9B | 1.00 | 9.29 | 2.26 | 9.29 |
| #FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004299
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a3e9b; /* rgb */ color: rgb(42, 62, 155); /* oklch */ color: oklch(40.8% 0.153 269.2);
Tailwind
colors: {
custom: {
50: '#7473b9',
500: '#2a3e9b',
950: '#000000',
},
}SCSS
$custom: #2a3e9b; $custom-light: #7473b9; $custom-dark: #000000;
JSON
{
"hex": "#2a3e9b",
"rgb": {
"r": 42,
"g": 62,
"b": 155
},
"hsl": {
"h": 229.381,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.40774,
"c": 0.15308,
"h": 269.2
},
"luminance": 0.06304
}Semantic roles & 50–950 ramp
primary
#2A3E9B
secondary
#BDAD64
accent
#C547E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81