#2A358E#2A358E
#2A358E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.146 H 272.0°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).
Color values
| HEX | #2A358E |
|---|---|
| RGB | rgb(42, 53, 142) |
| HSL | hsl(233, 54%, 36%) |
| HSV | hsv(233, 70%, 56%) |
| CMYK | cmyk(70.4%, 62.7%, 0%, 44.3%) |
| CIE-LAB | lab(26.71, 26.57, -50.72) |
| CIE-LCH | lch(26.71, 57.26, 297.65°) |
| OKLab | oklab(37.87% 0.005 -0.1463) |
| OKLCH | oklch(37.87% 0.146 272) |
| XYZ | xyz(7.1088, 4.9908, 26.1746) |
| Luminance | 0.0499 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.25
Blueberry
#464196
ΔE00 4.98
Darkslateblue
#483D8B
ΔE00 5.28
Cobalt (survey)
#1E488F
ΔE00 7.56
Cobalt
#0047AB
ΔE00 7.65
Darkish Blue
#014182
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A358E #8E832A
analogous
#2A678E #2A358E #512A8E
triadic
#2A358E #8E2A35 #358E2A
tetradic
#2A358E #8E2A67 #8E832A #2A8E51
square
#2A358E #8E2A67 #8E832A #2A8E51
split-complementary
#2A358E #8E512A #678E2A
monochromatic
#0E1230 #1C235F #2A358E #3847BD #626ED1
Accessibility & contrast
On white
10.51
#2A358E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2A358E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A358E
10.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A358E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A358E | 1.00 | 10.51 | 2.00 | 10.51 |
| #FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a358e; /* rgb */ color: rgb(42, 53, 142); /* oklch */ color: oklch(37.9% 0.146 272.0);
Tailwind
colors: {
custom: {
50: '#716cb0',
500: '#2a358e',
950: '#000000',
},
}SCSS
$custom: #2a358e; $custom-light: #716cb0; $custom-dark: #000000;
JSON
{
"hex": "#2a358e",
"rgb": {
"r": 42,
"g": 53,
"b": 142
},
"hsl": {
"h": 233.4,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.3787,
"c": 0.1464,
"h": 272
},
"luminance": 0.04991
}Semantic roles & 50–950 ramp
primary
#2A358E
secondary
#B6AD5D
accent
#CD4ADE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090711
muted
#7B7A80