#2A3D88#2A3D88
#2A3D88 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.127 H 269.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3D88 |
|---|---|
| RGB | rgb(42, 61, 136) |
| HSL | hsl(228, 53%, 35%) |
| HSV | hsv(228, 69%, 53%) |
| CMYK | cmyk(69.1%, 55.1%, 0%, 46.7%) |
| CIE-LAB | lab(28.40, 18.87, -44.26) |
| CIE-LCH | lch(28.40, 48.12, 293.09°) |
| OKLab | oklab(38.98% -0.0021 -0.1272) |
| OKLCH | oklch(38.98% 0.127 269) |
| XYZ | xyz(7.0660, 5.6066, 23.9976) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.80
Blueberry
#464196
ΔE00 5.18
Darkish Blue
#014182
ΔE00 5.44
Sapphire (survey)
#2138AB
ΔE00 5.78
Darkslateblue
#483D8B
ΔE00 5.80
Cobalt
#0047AB
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3D88 #88752A
analogous
#2A6C88 #2A3D88 #462A88
triadic
#2A3D88 #882A3D #3D882A
tetradic
#2A3D88 #882A6C #88752A #2A8846
square
#2A3D88 #882A6C #88752A #2A8846
split-complementary
#2A3D88 #88462A #6C882A
monochromatic
#0D132A #1C2859 #2A3D88 #3852B7 #5F75CE
Accessibility & contrast
On white
9.90
#2A3D88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2A3D88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3D88
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3D88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3D88 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#07478B
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a3d88; /* rgb */ color: rgb(42, 61, 136); /* oklch */ color: oklch(39.0% 0.127 269.0);
Tailwind
colors: {
custom: {
50: '#6f72ab',
500: '#2a3d88',
950: '#000000',
},
}SCSS
$custom: #2a3d88; $custom-light: #6f72ab; $custom-dark: #000000;
JSON
{
"hex": "#2a3d88",
"rgb": {
"r": 42,
"g": 61,
"b": 136
},
"hsl": {
"h": 227.872,
"s": 52.809,
"l": 34.902
},
"oklch": {
"l": 0.38979,
"c": 0.12724,
"h": 269
},
"luminance": 0.05607
}Semantic roles & 50–950 ramp
primary
#2A3D88
secondary
#B3A15B
accent
#BF4CDC
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F