#2A3D86#2A3D86
#2A3D86 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.124 H 268.9°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3D86 |
|---|---|
| RGB | rgb(42, 61, 134) |
| HSL | hsl(228, 52%, 35%) |
| HSV | hsv(228, 69%, 53%) |
| CMYK | cmyk(68.7%, 54.5%, 0%, 47.5%) |
| CIE-LAB | lab(28.25, 18.11, -43.26) |
| CIE-LCH | lch(28.25, 46.90, 292.71°) |
| OKLab | oklab(38.82% -0.0023 -0.1243) |
| OKLCH | oklch(38.82% 0.124 268.9) |
| XYZ | xyz(6.9252, 5.5503, 23.2560) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.80
Darkish Blue
#014182
ΔE00 5.34
Blueberry
#464196
ΔE00 5.36
Darkslateblue
#483D8B
ΔE00 5.89
Sapphire (survey)
#2138AB
ΔE00 6.10
Twilight Blue
#0A437A
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3D86 #86732A
analogous
#2A6B86 #2A3D86 #452A86
triadic
#2A3D86 #862A3D #3D862A
tetradic
#2A3D86 #862A6B #86732A #2A8645
square
#2A3D86 #862A6B #86732A #2A8645
split-complementary
#2A3D86 #86452A #6B862A
monochromatic
#0D1329 #1B2857 #2A3D86 #3952B5 #5E75CD
Accessibility & contrast
On white
9.95
#2A3D86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#2A3D86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3D86
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3D86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3D86 | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C4789
Deuteranopia (green-blind)
#003F85
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a3d86; /* rgb */ color: rgb(42, 61, 134); /* oklch */ color: oklch(38.8% 0.124 268.9);
Tailwind
colors: {
custom: {
50: '#6f72aa',
500: '#2a3d86',
950: '#000000',
},
}SCSS
$custom: #2a3d86; $custom-light: #6f72aa; $custom-dark: #000000;
JSON
{
"hex": "#2a3d86",
"rgb": {
"r": 42,
"g": 61,
"b": 134
},
"hsl": {
"h": 227.609,
"s": 52.273,
"l": 34.51
},
"oklch": {
"l": 0.38819,
"c": 0.12429,
"h": 268.9
},
"luminance": 0.05551
}Semantic roles & 50–950 ramp
primary
#2A3D86
secondary
#B2A05A
accent
#BE4CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F