#2A349B#2A349B
#2A349B is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.165 H 271.8°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2A349B |
|---|---|
| RGB | rgb(42, 52, 155) |
| HSL | hsl(235, 57%, 39%) |
| HSV | hsv(235, 73%, 61%) |
| CMYK | cmyk(72.9%, 66.5%, 0%, 39.2%) |
| CIE-LAB | lab(27.61, 32.03, -57.23) |
| CIE-LCH | lch(27.61, 65.58, 299.23°) |
| OKLab | oklab(38.89% 0.0051 -0.1654) |
| OKLCH | oklch(38.89% 0.165 271.8) |
| XYZ | xyz(8.0972, 5.3140, 31.6030) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.54
Blueberry
#464196
ΔE00 5.16
Darkslateblue
#483D8B
ΔE00 5.93
Ocean Blue
#4F42B5
ΔE00 6.89
Blue Blue
#2242C7
ΔE00 6.95
Royal
#0C1793
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A349B #9B912A
analogous
#2A6C9B #2A349B #582A9B
triadic
#2A349B #9B2A34 #349B2A
tetradic
#2A349B #9B2A6C #9B912A #2A9B58
square
#2A349B #9B2A6C #9B912A #2A9B58
split-complementary
#2A349B #9B582A #6C9B2A
monochromatic
#10143B #1D246B #2A349B #3946C9 #6973D6
Accessibility & contrast
On white
10.18
#2A349B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2A349B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A349B
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A349B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A349B | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a349b; /* rgb */ color: rgb(42, 52, 155); /* oklch */ color: oklch(38.9% 0.165 271.8);
Tailwind
colors: {
custom: {
50: '#746bb9',
500: '#2a349b',
950: '#000000',
},
}SCSS
$custom: #2a349b; $custom-light: #746bb9; $custom-dark: #000000;
JSON
{
"hex": "#2a349b",
"rgb": {
"r": 42,
"g": 52,
"b": 155
},
"hsl": {
"h": 234.69,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.3889,
"c": 0.16547,
"h": 271.8
},
"luminance": 0.05315
}Semantic roles & 50–950 ramp
primary
#2A349B
secondary
#BDB564
accent
#D347E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81