#2A3D9B#2A3D9B
#2A3D9B is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.154 H 269.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3D9B |
|---|---|
| RGB | rgb(42, 61, 155) |
| HSL | hsl(230, 57%, 39%) |
| HSV | hsv(230, 73%, 61%) |
| CMYK | cmyk(72.9%, 60.6%, 0%, 39.2%) |
| CIE-LAB | lab(29.90, 26.08, -53.49) |
| CIE-LCH | lch(29.90, 59.51, 296.00°) |
| OKLab | oklab(40.58% -0.0014 -0.1543) |
| OKLCH | oklch(40.58% 0.154 269.5) |
| XYZ | xyz(8.5380, 6.1954, 31.7499) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.92
Blueberry
#464196
ΔE00 4.40
Cobalt
#0047AB
ΔE00 4.99
Cobalt (survey)
#1E488F
ΔE00 5.65
Darkslateblue
#483D8B
ΔE00 5.89
Blue Blue
#2242C7
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3D9B #9B882A
analogous
#2A759B #2A3D9B #502A9B
triadic
#2A3D9B #9B2A3D #3D9B2A
tetradic
#2A3D9B #9B2A75 #9B882A #2A9B50
square
#2A3D9B #9B2A75 #9B882A #2A9B50
split-complementary
#2A3D9B #9B502A #759B2A
monochromatic
#10173B #1D2A6B #2A3D9B #3951C9 #697BD6
Accessibility & contrast
On white
9.38
#2A3D9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2A3D9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3D9B
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3D9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3D9B | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a3d9b; /* rgb */ color: rgb(42, 61, 155); /* oklch */ color: oklch(40.6% 0.154 269.5);
Tailwind
colors: {
custom: {
50: '#7472b9',
500: '#2a3d9b',
950: '#000000',
},
}SCSS
$custom: #2a3d9b; $custom-light: #7472b9; $custom-dark: #000000;
JSON
{
"hex": "#2a3d9b",
"rgb": {
"r": 42,
"g": 61,
"b": 155
},
"hsl": {
"h": 229.912,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.40577,
"c": 0.15435,
"h": 269.5
},
"luminance": 0.06196
}Semantic roles & 50–950 ramp
primary
#2A3D9B
secondary
#BDAE64
accent
#C747E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81