#2A418F#2A418F
#2A418F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.132 H 267.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2A418F |
|---|---|
| RGB | rgb(42, 65, 143) |
| HSL | hsl(226, 55%, 36%) |
| HSV | hsv(226, 71%, 56%) |
| CMYK | cmyk(70.6%, 54.5%, 0%, 43.9%) |
| CIE-LAB | lab(30.05, 18.81, -45.91) |
| CIE-LCH | lch(30.05, 49.62, 292.28°) |
| OKLab | oklab(40.39% -0.0053 -0.132) |
| OKLCH | oklch(40.39% 0.132 267.7) |
| XYZ | xyz(7.8014, 6.2552, 26.7775) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.62
Cobalt
#0047AB
ΔE00 4.82
Darkish Blue
#014182
ΔE00 5.04
Blueberry
#464196
ΔE00 5.15
Sapphire (survey)
#2138AB
ΔE00 5.46
Twilight Blue
#0A437A
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A418F #8F782A
analogous
#2A748F #2A418F #462A8F
triadic
#2A418F #8F2A41 #418F2A
tetradic
#2A418F #8F2A74 #8F782A #2A8F46
square
#2A418F #8F2A74 #8F782A #2A8F46
split-complementary
#2A418F #8F462A #748F2A
monochromatic
#0E1630 #1C2B60 #2A418F #3857BE #627CD1
Accessibility & contrast
On white
9.33
#2A418F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2A418F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A418F
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A418F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A418F | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A4C92
Deuteranopia (green-blind)
#00428D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a418f; /* rgb */ color: rgb(42, 65, 143); /* oklch */ color: oklch(40.4% 0.132 267.7);
Tailwind
colors: {
custom: {
50: '#7175b0',
500: '#2a418f',
950: '#000000',
},
}SCSS
$custom: #2a418f; $custom-light: #7175b0; $custom-dark: #000000;
JSON
{
"hex": "#2a418f",
"rgb": {
"r": 42,
"g": 65,
"b": 143
},
"hsl": {
"h": 226.337,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.4039,
"c": 0.13212,
"h": 267.7
},
"luminance": 0.06256
}Semantic roles & 50–950 ramp
primary
#2A418F
secondary
#B7A35E
accent
#BC4ADE
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080811
muted
#7B7B80