#2A417D#2A417D
#2A417D is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.105 H 265.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2A417D |
|---|---|
| RGB | rgb(42, 65, 125) |
| HSL | hsl(223, 50%, 33%) |
| HSV | hsv(223, 66%, 49%) |
| CMYK | cmyk(66.4%, 48%, 0%, 51%) |
| CIE-LAB | lab(28.78, 11.93, -36.79) |
| CIE-LCH | lch(28.78, 38.68, 287.96°) |
| OKLab | oklab(39.02% -0.0075 -0.1052) |
| OKLCH | oklch(39.02% 0.105 265.9) |
| XYZ | xyz(6.5455, 5.7529, 20.1635) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.93
Darkish Blue
#014182
ΔE00 4.23
Twilight Blue
#0A437A
ΔE00 4.74
Marine Blue
#01386A
ΔE00 5.52
Prussian Blue
#004577
ΔE00 6.33
Cobalt
#0047AB
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A417D #7D662A
analogous
#2A6B7D #2A417D #3C2A7D
triadic
#2A417D #7D2A41 #417D2A
tetradic
#2A417D #7D2A6B #7D662A #2A7D3C
square
#2A417D #7D2A6B #7D662A #2A7D3C
split-complementary
#2A417D #7D3C2A #6B7D2A
monochromatic
#0B1121 #1B294F #2A417D #3959AB #5A78C8
Accessibility & contrast
On white
9.76
#2A417D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2A417D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A417D
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A417D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A417D | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23487F
Deuteranopia (green-blind)
#15407C
Tritanopia (blue-blind)
#004F59
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a417d; /* rgb */ color: rgb(42, 65, 125); /* oklch */ color: oklch(39.0% 0.105 265.9);
Tailwind
colors: {
custom: {
50: '#6d75a3',
500: '#2a417d',
950: '#000000',
},
}SCSS
$custom: #2a417d; $custom-light: #6d75a3; $custom-dark: #000000;
JSON
{
"hex": "#2a417d",
"rgb": {
"r": 42,
"g": 65,
"b": 125
},
"hsl": {
"h": 223.373,
"s": 49.701,
"l": 32.745
},
"oklch": {
"l": 0.39022,
"c": 0.10545,
"h": 265.9
},
"luminance": 0.05754
}Semantic roles & 50–950 ramp
primary
#2A417D
secondary
#AD9556
accent
#B34FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F