#2A3C91#2A3C91
#2A3C91 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.142 H 269.7°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3C91 |
|---|---|
| RGB | rgb(42, 60, 145) |
| HSL | hsl(230, 55%, 37%) |
| HSV | hsv(230, 71%, 57%) |
| CMYK | cmyk(71%, 58.6%, 0%, 43.1%) |
| CIE-LAB | lab(28.82, 22.98, -49.14) |
| CIE-LCH | lch(28.82, 54.24, 295.06°) |
| OKLab | oklab(39.52% -0.0008 -0.1416) |
| OKLCH | oklch(39.52% 0.142 269.7) |
| XYZ | xyz(7.6798, 5.7675, 27.4911) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.21
Blueberry
#464196
ΔE00 4.53
Cobalt (survey)
#1E488F
ΔE00 5.37
Darkslateblue
#483D8B
ΔE00 5.53
Cobalt
#0047AB
ΔE00 5.71
Darkish Blue
#014182
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3C91 #917F2A
analogous
#2A7091 #2A3C91 #4C2A91
triadic
#2A3C91 #912A3C #3C912A
tetradic
#2A3C91 #912A70 #917F2A #2A914C
square
#2A3C91 #912A70 #917F2A #2A914C
split-complementary
#2A3C91 #914C2A #70912A
monochromatic
#0F1532 #1C2862 #2A3C91 #3850C0 #6377D2
Accessibility & contrast
On white
9.75
#2A3C91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2A3C91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3C91
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3C91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3C91 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a3c91; /* rgb */ color: rgb(42, 60, 145); /* oklch */ color: oklch(39.5% 0.142 269.7);
Tailwind
colors: {
custom: {
50: '#7171b2',
500: '#2a3c91',
950: '#000000',
},
}SCSS
$custom: #2a3c91; $custom-light: #7171b2; $custom-dark: #000000;
JSON
{
"hex": "#2a3c91",
"rgb": {
"r": 42,
"g": 60,
"b": 145
},
"hsl": {
"h": 229.515,
"s": 55.08,
"l": 36.667
},
"oklch": {
"l": 0.39515,
"c": 0.14156,
"h": 269.7
},
"luminance": 0.05768
}Semantic roles & 50–950 ramp
primary
#2A3C91
secondary
#B8A85F
accent
#C449DE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80