#2A319B#2A319B
#2A319B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.169 H 272.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2A319B |
|---|---|
| RGB | rgb(42, 49, 155) |
| HSL | hsl(236, 57%, 39%) |
| HSV | hsv(236, 73%, 61%) |
| CMYK | cmyk(72.9%, 68.4%, 0%, 39.2%) |
| CIE-LAB | lab(26.89, 33.96, -58.41) |
| CIE-LCH | lch(26.89, 67.56, 300.17°) |
| OKLab | oklab(38.37% 0.0071 -0.1689) |
| OKLCH | oklch(38.37% 0.169 272.4) |
| XYZ | xyz(7.9676, 5.0546, 31.5597) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.02
Blueberry
#464196
ΔE00 5.70
Darkslateblue
#483D8B
ΔE00 6.24
Royal
#0C1793
ΔE00 6.43
Indigo Blue
#3A18B1
ΔE00 6.71
Ocean Blue
#4F42B5
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A319B #9B942A
analogous
#2A699B #2A319B #5B2A9B
triadic
#2A319B #9B2A31 #319B2A
tetradic
#2A319B #9B2A69 #9B942A #2A9B5B
square
#2A319B #9B2A69 #9B942A #2A9B5B
split-complementary
#2A319B #9B5B2A #699B2A
monochromatic
#10133B #1D226B #2A319B #3942C9 #6970D6
Accessibility & contrast
On white
10.44
#2A319B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2A319B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A319B
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A319B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A319B | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003A99
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a319b; /* rgb */ color: rgb(42, 49, 155); /* oklch */ color: oklch(38.4% 0.169 272.4);
Tailwind
colors: {
custom: {
50: '#7569b9',
500: '#2a319b',
950: '#000000',
},
}SCSS
$custom: #2a319b; $custom-light: #7569b9; $custom-dark: #000000;
JSON
{
"hex": "#2a319b",
"rgb": {
"r": 42,
"g": 49,
"b": 155
},
"hsl": {
"h": 236.283,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.38365,
"c": 0.16901,
"h": 272.4
},
"luminance": 0.05055
}Semantic roles & 50–950 ramp
primary
#2A319B
secondary
#BDB764
accent
#D747E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81