#2A407C#2A407C
#2A407C is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.105 H 266.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2A407C |
|---|---|
| RGB | rgb(42, 64, 124) |
| HSL | hsl(224, 49%, 33%) |
| HSV | hsv(224, 66%, 49%) |
| CMYK | cmyk(66.1%, 48.4%, 0%, 51.4%) |
| CIE-LAB | lab(28.42, 12.23, -36.75) |
| CIE-LCH | lch(28.42, 38.73, 288.41°) |
| OKLab | oklab(38.72% -0.0066 -0.1051) |
| OKLCH | oklch(38.72% 0.105 266.4) |
| XYZ | xyz(6.4251, 5.6137, 19.8098) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.27
Darkish Blue
#014182
ΔE00 4.43
Twilight Blue
#0A437A
ΔE00 4.96
Marine Blue
#01386A
ΔE00 5.48
Prussian Blue
#004577
ΔE00 6.55
Marine
#042E60
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A407C #7C662A
analogous
#2A697C #2A407C #3D2A7C
triadic
#2A407C #7C2A40 #407C2A
tetradic
#2A407C #7C2A69 #7C662A #2A7C3D
square
#2A407C #7C2A69 #7C662A #2A7C3D
split-complementary
#2A407C #7C3D2A #697C2A
monochromatic
#0B1121 #1B284E #2A407C #3958AA #5977C7
Accessibility & contrast
On white
9.89
#2A407C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2A407C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A407C
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A407C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A407C | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22477E
Deuteranopia (green-blind)
#13407B
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a407c; /* rgb */ color: rgb(42, 64, 124); /* oklch */ color: oklch(38.7% 0.105 266.4);
Tailwind
colors: {
custom: {
50: '#6d74a2',
500: '#2a407c',
950: '#000000',
},
}SCSS
$custom: #2a407c; $custom-light: #6d74a2; $custom-dark: #000000;
JSON
{
"hex": "#2a407c",
"rgb": {
"r": 42,
"g": 64,
"b": 124
},
"hsl": {
"h": 223.902,
"s": 49.398,
"l": 32.549
},
"oklch": {
"l": 0.38722,
"c": 0.10528,
"h": 266.4
},
"luminance": 0.05614
}Semantic roles & 50–950 ramp
primary
#2A407C
secondary
#AD9555
accent
#B44FD9
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F