#2A418E#2A418E
#2A418E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.131 H 267.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2A418E |
|---|---|
| RGB | rgb(42, 65, 142) |
| HSL | hsl(226, 54%, 36%) |
| HSV | hsv(226, 70%, 56%) |
| CMYK | cmyk(70.4%, 54.2%, 0%, 44.3%) |
| CIE-LAB | lab(29.97, 18.43, -45.42) |
| CIE-LCH | lch(29.97, 49.01, 292.09°) |
| OKLab | oklab(40.31% -0.0054 -0.1306) |
| OKLCH | oklch(40.31% 0.131 267.6) |
| XYZ | xyz(7.7259, 6.2251, 26.3803) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.58
Cobalt
#0047AB
ΔE00 4.92
Darkish Blue
#014182
ΔE00 4.95
Blueberry
#464196
ΔE00 5.22
Sapphire (survey)
#2138AB
ΔE00 5.60
Twilight Blue
#0A437A
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A418E #8E772A
analogous
#2A738E #2A418E #452A8E
triadic
#2A418E #8E2A41 #418E2A
tetradic
#2A418E #8E2A73 #8E772A #2A8E45
square
#2A418E #8E2A73 #8E772A #2A8E45
split-complementary
#2A418E #8E452A #738E2A
monochromatic
#0E1630 #1C2B5F #2A418E #3857BD #627BD1
Accessibility & contrast
On white
9.35
#2A418E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2A418E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A418E
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A418E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A418E | 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)
#0C4B91
Deuteranopia (green-blind)
#00428C
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a418e; /* rgb */ color: rgb(42, 65, 142); /* oklch */ color: oklch(40.3% 0.131 267.6);
Tailwind
colors: {
custom: {
50: '#7075b0',
500: '#2a418e',
950: '#000000',
},
}SCSS
$custom: #2a418e; $custom-light: #7075b0; $custom-dark: #000000;
JSON
{
"hex": "#2a418e",
"rgb": {
"r": 42,
"g": 65,
"b": 142
},
"hsl": {
"h": 226.2,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.4031,
"c": 0.13067,
"h": 267.6
},
"luminance": 0.06226
}Semantic roles & 50–950 ramp
primary
#2A418E
secondary
#B6A25D
accent
#BC4ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080810
muted
#7B7B7F