#2A417C#2A417C
#2A417C is a dark, moderate blue. Relative luminance 0.057; OKLCH L 39.0% C 0.104 H 265.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A417C |
|---|---|
| RGB | rgb(42, 65, 124) |
| HSL | hsl(223, 49%, 33%) |
| HSV | hsv(223, 66%, 49%) |
| CMYK | cmyk(66.1%, 47.6%, 0%, 51.4%) |
| CIE-LAB | lab(28.71, 11.55, -36.27) |
| CIE-LCH | lch(28.71, 38.06, 287.66°) |
| OKLab | oklab(38.95% -0.0077 -0.1036) |
| OKLCH | oklch(38.95% 0.104 265.8) |
| XYZ | xyz(6.4820, 5.7275, 19.8288) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.01
Darkish Blue
#014182
ΔE00 4.23
Twilight Blue
#0A437A
ΔE00 4.70
Marine Blue
#01386A
ΔE00 5.44
Prussian Blue
#004577
ΔE00 6.28
Dusk Blue
#26538D
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A417C #7C652A
analogous
#2A6A7C #2A417C #3C2A7C
triadic
#2A417C #7C2A41 #417C2A
tetradic
#2A417C #7C2A6A #7C652A #2A7C3C
square
#2A417C #7C2A6A #7C652A #2A7C3C
split-complementary
#2A417C #7C3C2A #6A7C2A
monochromatic
#0B1121 #1B294E #2A417C #3959AA #5978C7
Accessibility & contrast
On white
9.79
#2A417C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2A417C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A417C
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A417C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A417C | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24487E
Deuteranopia (green-blind)
#16407B
Tritanopia (blue-blind)
#004E58
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a417c; /* rgb */ color: rgb(42, 65, 124); /* oklch */ color: oklch(39.0% 0.104 265.8);
Tailwind
colors: {
custom: {
50: '#6d75a2',
500: '#2a417c',
950: '#000000',
},
}SCSS
$custom: #2a417c; $custom-light: #6d75a2; $custom-dark: #000000;
JSON
{
"hex": "#2a417c",
"rgb": {
"r": 42,
"g": 65,
"b": 124
},
"hsl": {
"h": 223.171,
"s": 49.398,
"l": 32.549
},
"oklch": {
"l": 0.3895,
"c": 0.10393,
"h": 265.8
},
"luminance": 0.05728
}Semantic roles & 50–950 ramp
primary
#2A417C
secondary
#AD9455
accent
#B24FD9
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F