#2A478D#2A478D
#2A478D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.5% C 0.121 H 264.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2A478D |
|---|---|
| RGB | rgb(42, 71, 141) |
| HSL | hsl(222, 54%, 36%) |
| HSV | hsv(222, 70%, 55%) |
| CMYK | cmyk(70.2%, 49.6%, 0%, 44.7%) |
| CIE-LAB | lab(31.63, 13.97, -42.14) |
| CIE-LCH | lch(31.63, 44.39, 288.34°) |
| OKLab | oklab(41.54% -0.0112 -0.1208) |
| OKLCH | oklch(41.54% 0.121 264.7) |
| XYZ | xyz(8.0141, 6.9210, 26.1077) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.77
Darkish Blue
#014182
ΔE00 4.18
Cobalt
#0047AB
ΔE00 4.39
Twilight Blue
#0A437A
ΔE00 4.84
Dusk Blue
#26538D
ΔE00 4.88
Light Navy
#155084
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A478D #8D702A
analogous
#2A788D #2A478D #3E2A8D
triadic
#2A478D #8D2A47 #478D2A
tetradic
#2A478D #8D2A78 #8D702A #2A8D3E
square
#2A478D #8D2A78 #8D702A #2A8D3E
split-complementary
#2A478D #8D3E2A #788D2A
monochromatic
#0E182F #1C2F5E #2A478D #385FBC #6182D0
Accessibility & contrast
On white
8.81
#2A478D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2A478D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A478D
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A478D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A478D | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#07468C
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a478d; /* rgb */ color: rgb(42, 71, 141); /* oklch */ color: oklch(41.5% 0.121 264.7);
Tailwind
colors: {
custom: {
50: '#7079af',
500: '#2a478d',
950: '#000000',
},
}SCSS
$custom: #2a478d; $custom-light: #7079af; $custom-dark: #000000;
JSON
{
"hex": "#2a478d",
"rgb": {
"r": 42,
"g": 71,
"b": 141
},
"hsl": {
"h": 222.424,
"s": 54.098,
"l": 35.882
},
"oklch": {
"l": 0.41544,
"c": 0.12131,
"h": 264.7
},
"luminance": 0.06922
}Semantic roles & 50–950 ramp
primary
#2A478D
secondary
#B69C5D
accent
#B24ADD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F