#2A3F9B#2A3F9B
#2A3F9B is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.152 H 268.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3F9B |
|---|---|
| RGB | rgb(42, 63, 155) |
| HSL | hsl(229, 57%, 39%) |
| HSV | hsv(229, 73%, 61%) |
| CMYK | cmyk(72.9%, 59.4%, 0%, 39.2%) |
| CIE-LAB | lab(30.43, 24.74, -52.62) |
| CIE-LCH | lch(30.43, 58.15, 295.18°) |
| OKLab | oklab(40.97% -0.003 -0.1518) |
| OKLCH | oklch(40.97% 0.152 268.9) |
| XYZ | xyz(8.6467, 6.4129, 31.7861) |
| Luminance | 0.0641 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.37
Cobalt
#0047AB
ΔE00 4.47
Blueberry
#464196
ΔE00 4.50
Cobalt (survey)
#1E488F
ΔE00 5.04
Blue Blue
#2242C7
ΔE00 6.02
Darkslateblue
#483D8B
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3F9B #9B862A
analogous
#2A779B #2A3F9B #4E2A9B
triadic
#2A3F9B #9B2A3F #3F9B2A
tetradic
#2A3F9B #9B2A77 #9B862A #2A9B4E
square
#2A3F9B #9B2A77 #9B862A #2A9B4E
split-complementary
#2A3F9B #9B4E2A #779B2A
monochromatic
#10183B #1D2B6B #2A3F9B #3954C9 #697DD6
Accessibility & contrast
On white
9.20
#2A3F9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2A3F9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3F9B
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3F9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3F9B | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#004399
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a3f9b; /* rgb */ color: rgb(42, 63, 155); /* oklch */ color: oklch(41.0% 0.152 268.9);
Tailwind
colors: {
custom: {
50: '#7473b9',
500: '#2a3f9b',
950: '#000000',
},
}SCSS
$custom: #2a3f9b; $custom-light: #7473b9; $custom-dark: #000000;
JSON
{
"hex": "#2a3f9b",
"rgb": {
"r": 42,
"g": 63,
"b": 155
},
"hsl": {
"h": 228.85,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.40972,
"c": 0.1518,
"h": 268.9
},
"luminance": 0.06414
}Semantic roles & 50–950 ramp
primary
#2A3F9B
secondary
#BDAC64
accent
#C447E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81