#2A478C#2A478C
#2A478C is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.5% C 0.120 H 264.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A478C |
|---|---|
| RGB | rgb(42, 71, 140) |
| HSL | hsl(222, 54%, 36%) |
| HSV | hsv(222, 70%, 55%) |
| CMYK | cmyk(70%, 49.3%, 0%, 45.1%) |
| CIE-LAB | lab(31.56, 13.58, -41.63) |
| CIE-LCH | lch(31.56, 43.79, 288.07°) |
| OKLab | oklab(41.47% -0.0113 -0.1193) |
| OKLCH | oklch(41.47% 0.12 264.6) |
| XYZ | xyz(7.9400, 6.8914, 25.7176) |
| Luminance | 0.0689 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.75
Darkish Blue
#014182
ΔE00 4.11
Cobalt
#0047AB
ΔE00 4.51
Twilight Blue
#0A437A
ΔE00 4.74
Dusk Blue
#26538D
ΔE00 4.85
Light Navy
#155084
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A478C #8C6F2A
analogous
#2A788C #2A478C #3E2A8C
triadic
#2A478C #8C2A47 #478C2A
tetradic
#2A478C #8C2A78 #8C6F2A #2A8C3E
square
#2A478C #8C2A78 #8C6F2A #2A8C3E
split-complementary
#2A478C #8C3E2A #788C2A
monochromatic
#0E172E #1C2F5D #2A478C #385FBB #6182D0
Accessibility & contrast
On white
8.83
#2A478C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2A478C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A478C
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A478C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A478C | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224F8F
Deuteranopia (green-blind)
#0A468B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2a478c; /* rgb */ color: rgb(42, 71, 140); /* oklch */ color: oklch(41.5% 0.120 264.6);
Tailwind
colors: {
custom: {
50: '#7079ae',
500: '#2a478c',
950: '#000000',
},
}SCSS
$custom: #2a478c; $custom-light: #7079ae; $custom-dark: #000000;
JSON
{
"hex": "#2a478c",
"rgb": {
"r": 42,
"g": 71,
"b": 140
},
"hsl": {
"h": 222.245,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.4147,
"c": 0.11985,
"h": 264.6
},
"luminance": 0.06892
}Semantic roles & 50–950 ramp
primary
#2A478C
secondary
#B59B5C
accent
#B24BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F