#2A3B9E#2A3B9E
#2A3B9E is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.161 H 270.0°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3B9E |
|---|---|
| RGB | rgb(42, 59, 158) |
| HSL | hsl(231, 58%, 39%) |
| HSV | hsv(231, 73%, 62%) |
| CMYK | cmyk(73.4%, 62.7%, 0%, 38%) |
| CIE-LAB | lab(29.63, 28.54, -55.74) |
| CIE-LCH | lch(29.63, 62.63, 297.11°) |
| OKLab | oklab(40.46% 0 -0.161) |
| OKLCH | oklch(40.46% 0.161 270) |
| XYZ | xyz(8.6883, 6.0879, 33.0583) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.15
Blueberry
#464196
ΔE00 4.49
Cobalt
#0047AB
ΔE00 5.47
Blue Blue
#2242C7
ΔE00 5.76
Darkslateblue
#483D8B
ΔE00 5.93
Ocean Blue
#4F42B5
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3B9E #9E8D2A
analogous
#2A759E #2A3B9E #532A9E
triadic
#2A3B9E #9E2A3B #3B9E2A
tetradic
#2A3B9E #9E2A75 #9E8D2A #2A9E53
square
#2A3B9E #9E2A75 #9E8D2A #2A9E53
split-complementary
#2A3B9E #9E532A #759E2A
monochromatic
#10173D #1D296E #2A3B9E #3A50CB #6B7BD8
Accessibility & contrast
On white
9.47
#2A3B9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2A3B9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3B9E
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3B9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3B9E | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005467
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a3b9e; /* rgb */ color: rgb(42, 59, 158); /* oklch */ color: oklch(40.5% 0.161 270.0);
Tailwind
colors: {
custom: {
50: '#7570bc',
500: '#2a3b9e',
950: '#000000',
},
}SCSS
$custom: #2a3b9e; $custom-light: #7570bc; $custom-dark: #000000;
JSON
{
"hex": "#2a3b9e",
"rgb": {
"r": 42,
"g": 59,
"b": 158
},
"hsl": {
"h": 231.207,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.40458,
"c": 0.16098,
"h": 270
},
"luminance": 0.06089
}Semantic roles & 50–950 ramp
primary
#2A3B9E
secondary
#BEB166
accent
#CB47E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090712
muted
#7B7A81