#2A418D#2A418D
#2A418D is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.2% C 0.129 H 267.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2A418D |
|---|---|
| RGB | rgb(42, 65, 141) |
| HSL | hsl(226, 54%, 36%) |
| HSV | hsv(226, 70%, 55%) |
| CMYK | cmyk(70.2%, 53.9%, 0%, 44.7%) |
| CIE-LAB | lab(29.90, 18.05, -44.92) |
| CIE-LCH | lch(29.90, 48.41, 291.89°) |
| OKLab | oklab(40.23% -0.0055 -0.1291) |
| OKLCH | oklch(40.23% 0.129 267.6) |
| XYZ | xyz(7.6512, 6.1952, 25.9867) |
| Luminance | 0.0620 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.55
Darkish Blue
#014182
ΔE00 4.88
Cobalt
#0047AB
ΔE00 5.02
Blueberry
#464196
ΔE00 5.30
Sapphire (survey)
#2138AB
ΔE00 5.74
Twilight Blue
#0A437A
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A418D #8D762A
analogous
#2A728D #2A418D #452A8D
triadic
#2A418D #8D2A41 #418D2A
tetradic
#2A418D #8D2A72 #8D762A #2A8D45
square
#2A418D #8D2A72 #8D762A #2A8D45
split-complementary
#2A418D #8D452A #728D2A
monochromatic
#0E162F #1C2B5E #2A418D #3857BC #617BD0
Accessibility & contrast
On white
9.38
#2A418D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2A418D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A418D
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A418D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A418D | 1.00 | 9.38 | 2.24 | 9.38 |
| #FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F4B90
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005360
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a418d; /* rgb */ color: rgb(42, 65, 141); /* oklch */ color: oklch(40.2% 0.129 267.6);
Tailwind
colors: {
custom: {
50: '#7075af',
500: '#2a418d',
950: '#000000',
},
}SCSS
$custom: #2a418d; $custom-light: #7075af; $custom-dark: #000000;
JSON
{
"hex": "#2a418d",
"rgb": {
"r": 42,
"g": 65,
"b": 141
},
"hsl": {
"h": 226.061,
"s": 54.098,
"l": 35.882
},
"oklch": {
"l": 0.40231,
"c": 0.12922,
"h": 267.6
},
"luminance": 0.06196
}Semantic roles & 50–950 ramp
primary
#2A418D
secondary
#B6A15D
accent
#BB4ADD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F