#2A488E#2A488E
#2A488E is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.8% C 0.121 H 264.3°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2A488E |
|---|---|
| RGB | rgb(42, 72, 142) |
| HSL | hsl(222, 54%, 36%) |
| HSV | hsv(222, 70%, 56%) |
| CMYK | cmyk(70.4%, 49.3%, 0%, 44.3%) |
| CIE-LAB | lab(31.99, 13.67, -42.17) |
| CIE-LCH | lch(31.99, 44.33, 287.96°) |
| OKLab | oklab(41.84% -0.012 -0.1209) |
| OKLCH | oklch(41.84% 0.121 264.3) |
| XYZ | xyz(8.1530, 7.0791, 26.5227) |
| Luminance | 0.0708 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.58
Darkish Blue
#014182
ΔE00 4.23
Cobalt
#0047AB
ΔE00 4.25
Dusk Blue
#26538D
ΔE00 4.56
Twilight Blue
#0A437A
ΔE00 4.85
Light Navy
#155084
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A488E #8E702A
analogous
#2A7A8E #2A488E #3E2A8E
triadic
#2A488E #8E2A48 #488E2A
tetradic
#2A488E #8E2A7A #8E702A #2A8E3E
square
#2A488E #8E2A7A #8E702A #2A8E3E
split-complementary
#2A488E #8E3E2A #7A8E2A
monochromatic
#0E1830 #1C305F #2A488E #3860BD #6283D1
Accessibility & contrast
On white
8.69
#2A488E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#2A488E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A488E
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A488E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A488E | 1.00 | 8.69 | 2.42 | 8.69 |
| #FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#09478D
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2a488e; /* rgb */ color: rgb(42, 72, 142); /* oklch */ color: oklch(41.8% 0.121 264.3);
Tailwind
colors: {
custom: {
50: '#707aaf',
500: '#2a488e',
950: '#000000',
},
}SCSS
$custom: #2a488e; $custom-light: #707aaf; $custom-dark: #000000;
JSON
{
"hex": "#2a488e",
"rgb": {
"r": 42,
"g": 72,
"b": 142
},
"hsl": {
"h": 222,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.41841,
"c": 0.12148,
"h": 264.3
},
"luminance": 0.0708
}Semantic roles & 50–950 ramp
primary
#2A488E
secondary
#B69C5D
accent
#B14ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F