#2A478F#2A478F
#2A478F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.7% C 0.124 H 265.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2A478F |
|---|---|
| RGB | rgb(42, 71, 143) |
| HSL | hsl(223, 55%, 36%) |
| HSV | hsv(223, 71%, 56%) |
| CMYK | cmyk(70.6%, 50.3%, 0%, 43.9%) |
| CIE-LAB | lab(31.76, 14.73, -43.14) |
| CIE-LCH | lch(31.76, 45.59, 288.86°) |
| OKLab | oklab(41.69% -0.0109 -0.1238) |
| OKLCH | oklch(41.69% 0.124 265) |
| XYZ | xyz(8.1643, 6.9811, 26.8985) |
| Luminance | 0.0698 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.82
Cobalt
#0047AB
ΔE00 4.16
Darkish Blue
#014182
ΔE00 4.33
Dusk Blue
#26538D
ΔE00 4.96
Twilight Blue
#0A437A
ΔE00 5.03
Light Navy
#155084
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A478F #8F722A
analogous
#2A7A8F #2A478F #402A8F
triadic
#2A478F #8F2A47 #478F2A
tetradic
#2A478F #8F2A7A #8F722A #2A8F40
square
#2A478F #8F2A7A #8F722A #2A8F40
split-complementary
#2A478F #8F402A #7A8F2A
monochromatic
#0E1830 #1C3060 #2A478F #385EBE #6282D1
Accessibility & contrast
On white
8.76
#2A478F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2A478F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A478F
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A478F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A478F | 1.00 | 8.76 | 2.40 | 8.76 |
| #FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F5092
Deuteranopia (green-blind)
#00468E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a478f; /* rgb */ color: rgb(42, 71, 143); /* oklch */ color: oklch(41.7% 0.124 265.0);
Tailwind
colors: {
custom: {
50: '#7079b0',
500: '#2a478f',
950: '#000000',
},
}SCSS
$custom: #2a478f; $custom-light: #7079b0; $custom-dark: #000000;
JSON
{
"hex": "#2a478f",
"rgb": {
"r": 42,
"g": 71,
"b": 143
},
"hsl": {
"h": 222.772,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.41693,
"c": 0.12424,
"h": 265
},
"luminance": 0.06982
}Semantic roles & 50–950 ramp
primary
#2A478F
secondary
#B79D5E
accent
#B34ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F