#2A478E#2A478E
#2A478E is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.6% C 0.123 H 264.9°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A478E |
|---|---|
| RGB | rgb(42, 71, 142) |
| HSL | hsl(223, 54%, 36%) |
| HSV | hsv(223, 70%, 56%) |
| CMYK | cmyk(70.4%, 50%, 0%, 44.3%) |
| CIE-LAB | lab(31.69, 14.35, -42.64) |
| CIE-LCH | lch(31.69, 44.99, 288.60°) |
| OKLab | oklab(41.62% -0.011 -0.1223) |
| OKLCH | oklch(41.62% 0.123 264.9) |
| XYZ | xyz(8.0889, 6.9509, 26.5013) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.79
Darkish Blue
#014182
ΔE00 4.25
Cobalt
#0047AB
ΔE00 4.27
Dusk Blue
#26538D
ΔE00 4.92
Twilight Blue
#0A437A
ΔE00 4.94
Light Navy
#155084
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A478E #8E712A
analogous
#2A798E #2A478E #3F2A8E
triadic
#2A478E #8E2A47 #478E2A
tetradic
#2A478E #8E2A79 #8E712A #2A8E3F
square
#2A478E #8E2A79 #8E712A #2A8E3F
split-complementary
#2A478E #8E3F2A #798E2A
monochromatic
#0E1830 #1C2F5F #2A478E #385FBD #6282D1
Accessibility & contrast
On white
8.79
#2A478E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2A478E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A478E
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A478E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A478E | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#204F91
Deuteranopia (green-blind)
#04468D
Tritanopia (blue-blind)
#005863
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a478e; /* rgb */ color: rgb(42, 71, 142); /* oklch */ color: oklch(41.6% 0.123 264.9);
Tailwind
colors: {
custom: {
50: '#7079af',
500: '#2a478e',
950: '#000000',
},
}SCSS
$custom: #2a478e; $custom-light: #7079af; $custom-dark: #000000;
JSON
{
"hex": "#2a478e",
"rgb": {
"r": 42,
"g": 71,
"b": 142
},
"hsl": {
"h": 222.6,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.41618,
"c": 0.12278,
"h": 264.9
},
"luminance": 0.06952
}Semantic roles & 50–950 ramp
primary
#2A478E
secondary
#B69D5D
accent
#B34ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F