#2A457D#2A457D
#2A457D is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.9% C 0.100 H 263.2°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2A457D |
|---|---|
| RGB | rgb(42, 69, 125) |
| HSL | hsl(220, 50%, 33%) |
| HSV | hsv(220, 66%, 49%) |
| CMYK | cmyk(66.4%, 44.8%, 0%, 51%) |
| CIE-LAB | lab(29.98, 9.20, -34.87) |
| CIE-LCH | lch(29.98, 36.06, 284.78°) |
| OKLab | oklab(39.94% -0.0118 -0.0995) |
| OKLCH | oklch(39.94% 0.1 263.2) |
| XYZ | xyz(6.7833, 6.2285, 20.2428) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.06
Darkish Blue
#014182
ΔE00 3.71
Twilight Blue
#0A437A
ΔE00 3.90
Prussian Blue
#004577
ΔE00 5.34
Dusk Blue
#26538D
ΔE00 5.50
Marine Blue
#01386A
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A457D #7D622A
analogous
#2A6E7D #2A457D #382A7D
triadic
#2A457D #7D2A45 #457D2A
tetradic
#2A457D #7D2A6E #7D622A #2A7D38
square
#2A457D #7D2A6E #7D622A #2A7D38
split-complementary
#2A457D #7D382A #6E7D2A
monochromatic
#0B1221 #1B2C4F #2A457D #395EAB #5A7EC8
Accessibility & contrast
On white
9.35
#2A457D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2A457D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A457D
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A457D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A457D | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B4B7F
Deuteranopia (green-blind)
#1E437C
Tritanopia (blue-blind)
#00525B
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a457d; /* rgb */ color: rgb(42, 69, 125); /* oklch */ color: oklch(39.9% 0.100 263.2);
Tailwind
colors: {
custom: {
50: '#6d78a3',
500: '#2a457d',
950: '#000000',
},
}SCSS
$custom: #2a457d; $custom-light: #6d78a3; $custom-dark: #000000;
JSON
{
"hex": "#2a457d",
"rgb": {
"r": 42,
"g": 69,
"b": 125
},
"hsl": {
"h": 220.482,
"s": 49.701,
"l": 32.745
},
"oklch": {
"l": 0.39944,
"c": 0.10017,
"h": 263.2
},
"luminance": 0.06229
}Semantic roles & 50–950 ramp
primary
#2A457D
secondary
#AD9156
accent
#AC4FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F