#2A3D9C#2A3D9C
#2A3D9C is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.156 H 269.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3D9C |
|---|---|
| RGB | rgb(42, 61, 156) |
| HSL | hsl(230, 58%, 39%) |
| HSV | hsv(230, 73%, 61%) |
| CMYK | cmyk(73.1%, 60.9%, 0%, 38.8%) |
| CIE-LAB | lab(29.98, 26.46, -53.96) |
| CIE-LCH | lch(29.98, 60.10, 296.12°) |
| OKLab | oklab(40.66% -0.0014 -0.1557) |
| OKLCH | oklch(40.66% 0.156 269.5) |
| XYZ | xyz(8.6223, 6.2291, 32.1940) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.79
Blueberry
#464196
ΔE00 4.42
Cobalt
#0047AB
ΔE00 4.96
Cobalt (survey)
#1E488F
ΔE00 5.72
Blue Blue
#2242C7
ΔE00 5.92
Darkslateblue
#483D8B
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3D9C #9C892A
analogous
#2A769C #2A3D9C #502A9C
triadic
#2A3D9C #9C2A3D #3D9C2A
tetradic
#2A3D9C #9C2A76 #9C892A #2A9C50
square
#2A3D9C #9C2A76 #9C892A #2A9C50
split-complementary
#2A3D9C #9C502A #769C2A
monochromatic
#10173C #1D2A6C #2A3D9C #3951CA #6A7CD7
Accessibility & contrast
On white
9.35
#2A3D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2A3D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3D9C
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3D9C | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a3d9c; /* rgb */ color: rgb(42, 61, 156); /* oklch */ color: oklch(40.7% 0.156 269.5);
Tailwind
colors: {
custom: {
50: '#7472ba',
500: '#2a3d9c',
950: '#000000',
},
}SCSS
$custom: #2a3d9c; $custom-light: #7472ba; $custom-dark: #000000;
JSON
{
"hex": "#2a3d9c",
"rgb": {
"r": 42,
"g": 61,
"b": 156
},
"hsl": {
"h": 230,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.40664,
"c": 0.15573,
"h": 269.5
},
"luminance": 0.0623
}Semantic roles & 50–950 ramp
primary
#2A3D9C
secondary
#BDAE65
accent
#C747E1
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090812
muted
#7B7B81