#2A349C#2A349C
#2A349C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.167 H 271.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2A349C |
|---|---|
| RGB | rgb(42, 52, 156) |
| HSL | hsl(235, 58%, 39%) |
| HSV | hsv(235, 73%, 61%) |
| CMYK | cmyk(73.1%, 66.7%, 0%, 38.8%) |
| CIE-LAB | lab(27.70, 32.39, -57.69) |
| CIE-LCH | lch(27.70, 66.16, 299.32°) |
| OKLab | oklab(38.99% 0.005 -0.1667) |
| OKLCH | oklch(38.99% 0.167 271.7) |
| XYZ | xyz(8.1816, 5.3477, 32.0471) |
| Luminance | 0.0535 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.42
Blueberry
#464196
ΔE00 5.19
Darkslateblue
#483D8B
ΔE00 6.00
Ocean Blue
#4F42B5
ΔE00 6.80
Blue Blue
#2242C7
ΔE00 6.84
Royal
#0C1793
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A349C #9C922A
analogous
#2A6D9C #2A349C #592A9C
triadic
#2A349C #9C2A34 #349C2A
tetradic
#2A349C #9C2A6D #9C922A #2A9C59
square
#2A349C #9C2A6D #9C922A #2A9C59
split-complementary
#2A349C #9C592A #6D9C2A
monochromatic
#10143C #1D246C #2A349C #3946CA #6A73D7
Accessibility & contrast
On white
10.15
#2A349C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2A349C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A349C
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A349C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A349C | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#005063
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a349c; /* rgb */ color: rgb(42, 52, 156); /* oklch */ color: oklch(39.0% 0.167 271.7);
Tailwind
colors: {
custom: {
50: '#756bba',
500: '#2a349c',
950: '#000000',
},
}SCSS
$custom: #2a349c; $custom-light: #756bba; $custom-dark: #000000;
JSON
{
"hex": "#2a349c",
"rgb": {
"r": 42,
"g": 52,
"b": 156
},
"hsl": {
"h": 234.737,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.38985,
"c": 0.16681,
"h": 271.7
},
"luminance": 0.05349
}Semantic roles & 50–950 ramp
primary
#2A349C
secondary
#BDB565
accent
#D347E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81