#2A348B#2A348B
#2A348B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.143 H 272.4°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2A348B |
|---|---|
| RGB | rgb(42, 52, 139) |
| HSL | hsl(234, 54%, 35%) |
| HSV | hsv(234, 70%, 55%) |
| CMYK | cmyk(69.8%, 62.6%, 0%, 45.5%) |
| CIE-LAB | lab(26.19, 26.13, -49.71) |
| CIE-LCH | lch(26.19, 56.16, 297.73°) |
| OKLab | oklab(37.41% 0.0059 -0.1433) |
| OKLCH | oklch(37.41% 0.143 272.4) |
| XYZ | xyz(6.8415, 4.8117, 24.9893) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.73
Blueberry
#464196
ΔE00 5.20
Darkslateblue
#483D8B
ΔE00 5.28
Cobalt (survey)
#1E488F
ΔE00 7.82
Royal
#0C1793
ΔE00 7.82
Midnight Blue
#191970
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A348B #8B812A
analogous
#2A658B #2A348B #502A8B
triadic
#2A348B #8B2A34 #348B2A
tetradic
#2A348B #8B2A65 #8B812A #2A8B50
square
#2A348B #8B2A65 #8B812A #2A8B50
split-complementary
#2A348B #8B502A #658B2A
monochromatic
#0E112D #1C225C #2A348B #3846BA #606CCF
Accessibility & contrast
On white
10.70
#2A348B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2A348B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A348B
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A348B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A348B | 1.00 | 10.70 | 1.96 | 10.70 |
| #FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a348b; /* rgb */ color: rgb(42, 52, 139); /* oklch */ color: oklch(37.4% 0.143 272.4);
Tailwind
colors: {
custom: {
50: '#716bae',
500: '#2a348b',
950: '#000000',
},
}SCSS
$custom: #2a348b; $custom-light: #716bae; $custom-dark: #000000;
JSON
{
"hex": "#2a348b",
"rgb": {
"r": 42,
"g": 52,
"b": 139
},
"hsl": {
"h": 233.814,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.37408,
"c": 0.14346,
"h": 272.4
},
"luminance": 0.04812
}Semantic roles & 50–950 ramp
primary
#2A348B
secondary
#B5AC5C
accent
#CE4BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F