#2A487C#2A487C
#2A487C is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.6% C 0.095 H 260.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2A487C |
|---|---|
| RGB | rgb(42, 72, 124) |
| HSL | hsl(218, 49%, 33%) |
| HSV | hsv(218, 66%, 49%) |
| CMYK | cmyk(66.1%, 41.9%, 0%, 51.4%) |
| CIE-LAB | lab(30.83, 6.80, -32.88) |
| CIE-LCH | lch(30.83, 33.58, 281.68°) |
| OKLab | oklab(40.58% -0.0154 -0.0936) |
| OKLCH | oklch(40.58% 0.095 260.7) |
| XYZ | xyz(6.9090, 6.5816, 19.9711) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.85
Twilight Blue
#0A437A
ΔE00 3.51
Darkish Blue
#014182
ΔE00 3.69
Dusk Blue
#26538D
ΔE00 4.47
Prussian Blue
#004577
ΔE00 4.67
Light Navy
#155084
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A487C #7C5E2A
analogous
#2A717C #2A487C #352A7C
triadic
#2A487C #7C2A48 #487C2A
tetradic
#2A487C #7C2A71 #7C5E2A #2A7C35
square
#2A487C #7C2A71 #7C5E2A #2A7C35
split-complementary
#2A487C #7C352A #717C2A
monochromatic
#0B1321 #1B2D4E #2A487C #3963AA #5982C7
Accessibility & contrast
On white
9.07
#2A487C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2A487C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A487C
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A487C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A487C | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#25457B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a487c; /* rgb */ color: rgb(42, 72, 124); /* oklch */ color: oklch(40.6% 0.095 260.7);
Tailwind
colors: {
custom: {
50: '#6c7aa2',
500: '#2a487c',
950: '#000000',
},
}SCSS
$custom: #2a487c; $custom-light: #6c7aa2; $custom-dark: #000000;
JSON
{
"hex": "#2a487c",
"rgb": {
"r": 42,
"g": 72,
"b": 124
},
"hsl": {
"h": 218.049,
"s": 49.398,
"l": 32.549
},
"oklch": {
"l": 0.40583,
"c": 0.09487,
"h": 260.7
},
"luminance": 0.06582
}Semantic roles & 50–950 ramp
primary
#2A487C
secondary
#AD8D55
accent
#A64FD9
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07090F
muted
#7A7B7F