#2A3F9E#2A3F9E
#2A3F9E is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.156 H 268.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3F9E |
|---|---|
| RGB | rgb(42, 63, 158) |
| HSL | hsl(229, 58%, 39%) |
| HSV | hsv(229, 73%, 62%) |
| CMYK | cmyk(73.4%, 60.1%, 0%, 38%) |
| CIE-LAB | lab(30.68, 25.87, -54.04) |
| CIE-LCH | lch(30.68, 59.92, 295.58°) |
| OKLab | oklab(41.23% -0.0029 -0.1559) |
| OKLCH | oklch(41.23% 0.156 268.9) |
| XYZ | xyz(8.9018, 6.5150, 33.1295) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.01
Cobalt
#0047AB
ΔE00 4.39
Blueberry
#464196
ΔE00 4.53
Cobalt (survey)
#1E488F
ΔE00 5.29
Blue Blue
#2242C7
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3F9E #9E892A
analogous
#2A799E #2A3F9E #4F2A9E
triadic
#2A3F9E #9E2A3F #3F9E2A
tetradic
#2A3F9E #9E2A79 #9E892A #2A9E4F
square
#2A3F9E #9E2A79 #9E892A #2A9E4F
split-complementary
#2A3F9E #9E4F2A #799E2A
monochromatic
#10183D #1D2C6E #2A3F9E #3A55CB #6B7ED8
Accessibility & contrast
On white
9.12
#2A3F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2A3F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3F9E
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3F9E | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a3f9e; /* rgb */ color: rgb(42, 63, 158); /* oklch */ color: oklch(41.2% 0.156 268.9);
Tailwind
colors: {
custom: {
50: '#7473bb',
500: '#2a3f9e',
950: '#000000',
},
}SCSS
$custom: #2a3f9e; $custom-light: #7473bb; $custom-dark: #000000;
JSON
{
"hex": "#2a3f9e",
"rgb": {
"r": 42,
"g": 63,
"b": 158
},
"hsl": {
"h": 229.138,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.41231,
"c": 0.15597,
"h": 268.9
},
"luminance": 0.06516
}Semantic roles & 50–950 ramp
primary
#2A3F9E
secondary
#BEAE66
accent
#C547E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81