#2A489E#2A489E
#2A489E is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.144 H 266.0°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2A489E |
|---|---|
| RGB | rgb(42, 72, 158) |
| HSL | hsl(224, 58%, 39%) |
| HSV | hsv(224, 73%, 62%) |
| CMYK | cmyk(73.4%, 54.4%, 0%, 38%) |
| CIE-LAB | lab(33.12, 19.82, -50.06) |
| CIE-LCH | lch(33.12, 53.85, 291.60°) |
| OKLab | oklab(43.07% -0.0101 -0.1441) |
| OKLCH | oklch(43.07% 0.144 266) |
| XYZ | xyz(9.4416, 7.5946, 33.3094) |
| Luminance | 0.0760 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.71
Cobalt (survey)
#1E488F
ΔE00 3.06
Sapphire
#0F52BA
ΔE00 5.05
Dusk Blue
#26538D
ΔE00 5.53
Sapphire (survey)
#2138AB
ΔE00 5.73
Darkish Blue
#014182
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A489E #9E802A
analogous
#2A829E #2A489E #462A9E
triadic
#2A489E #9E2A48 #489E2A
tetradic
#2A489E #9E2A82 #9E802A #2A9E46
square
#2A489E #9E2A82 #9E802A #2A9E46
split-complementary
#2A489E #9E462A #829E2A
monochromatic
#101C3D #1D326E #2A489E #3A60CB #6B87D8
Accessibility & contrast
On white
8.34
#2A489E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2A489E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A489E
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A489E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A489E | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0653A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2a489e; /* rgb */ color: rgb(42, 72, 158); /* oklch */ color: oklch(43.1% 0.144 266.0);
Tailwind
colors: {
custom: {
50: '#747abb',
500: '#2a489e',
950: '#000000',
},
}SCSS
$custom: #2a489e; $custom-light: #747abb; $custom-dark: #000000;
JSON
{
"hex": "#2a489e",
"rgb": {
"r": 42,
"g": 72,
"b": 158
},
"hsl": {
"h": 224.483,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.43068,
"c": 0.14448,
"h": 266
},
"luminance": 0.07596
}Semantic roles & 50–950 ramp
primary
#2A489E
secondary
#BEA766
accent
#B947E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81