#2A478B#2A478B
#2A478B is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.118 H 264.4°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2A478B |
|---|---|
| RGB | rgb(42, 71, 139) |
| HSL | hsl(222, 54%, 35%) |
| HSV | hsv(222, 70%, 55%) |
| CMYK | cmyk(69.8%, 48.9%, 0%, 45.5%) |
| CIE-LAB | lab(31.49, 13.20, -41.13) |
| CIE-LCH | lch(31.49, 43.19, 287.79°) |
| OKLab | oklab(41.4% -0.0115 -0.1178) |
| OKLCH | oklch(41.4% 0.118 264.4) |
| XYZ | xyz(7.8666, 6.8620, 25.3310) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.76
Darkish Blue
#014182
ΔE00 4.04
Cobalt
#0047AB
ΔE00 4.63
Twilight Blue
#0A437A
ΔE00 4.65
Dusk Blue
#26538D
ΔE00 4.82
Light Navy
#155084
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A478B #8B6E2A
analogous
#2A778B #2A478B #3D2A8B
triadic
#2A478B #8B2A47 #478B2A
tetradic
#2A478B #8B2A77 #8B6E2A #2A8B3D
square
#2A478B #8B2A77 #8B6E2A #2A8B3D
split-complementary
#2A478B #8B3D2A #778B2A
monochromatic
#0E172D #1C2F5C #2A478B #385FBA #6081CF
Accessibility & contrast
On white
8.85
#2A478B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2A478B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A478B
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A478B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A478B | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234F8E
Deuteranopia (green-blind)
#0D468A
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a478b; /* rgb */ color: rgb(42, 71, 139); /* oklch */ color: oklch(41.4% 0.118 264.4);
Tailwind
colors: {
custom: {
50: '#6f79ad',
500: '#2a478b',
950: '#000000',
},
}SCSS
$custom: #2a478b; $custom-light: #6f79ad; $custom-dark: #000000;
JSON
{
"hex": "#2a478b",
"rgb": {
"r": 42,
"g": 71,
"b": 139
},
"hsl": {
"h": 222.062,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.41396,
"c": 0.11839,
"h": 264.4
},
"luminance": 0.06863
}Semantic roles & 50–950 ramp
primary
#2A478B
secondary
#B59A5C
accent
#B14BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F