#2A328B#2A328B
#2A328B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.146 H 273.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2A328B |
|---|---|
| RGB | rgb(42, 50, 139) |
| HSL | hsl(235, 54%, 35%) |
| HSV | hsv(235, 70%, 55%) |
| CMYK | cmyk(69.8%, 64%, 0%, 45.5%) |
| CIE-LAB | lab(25.67, 27.47, -50.55) |
| CIE-LCH | lch(25.67, 57.53, 298.52°) |
| OKLab | oklab(37.03% 0.0076 -0.1458) |
| OKLCH | oklch(37.03% 0.146 273) |
| XYZ | xyz(6.7541, 4.6369, 24.9602) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.83
Darkslateblue
#483D8B
ΔE00 5.44
Blueberry
#464196
ΔE00 5.49
Royal
#0C1793
ΔE00 7.21
Midnight Blue
#191970
ΔE00 7.42
Cobalt (survey)
#1E488F
ΔE00 8.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A328B #8B832A
analogous
#2A628B #2A328B #532A8B
triadic
#2A328B #8B2A32 #328B2A
tetradic
#2A328B #8B2A62 #8B832A #2A8B53
square
#2A328B #8B2A62 #8B832A #2A8B53
split-complementary
#2A328B #8B532A #628B2A
monochromatic
#0E102D #1C215C #2A328B #3843BA #6069CF
Accessibility & contrast
On white
10.89
#2A328B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2A328B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A328B
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A328B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A328B | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2a328b; /* rgb */ color: rgb(42, 50, 139); /* oklch */ color: oklch(37.0% 0.146 273.0);
Tailwind
colors: {
custom: {
50: '#716aae',
500: '#2a328b',
950: '#000000',
},
}SCSS
$custom: #2a328b; $custom-light: #716aae; $custom-dark: #000000;
JSON
{
"hex": "#2a328b",
"rgb": {
"r": 42,
"g": 50,
"b": 139
},
"hsl": {
"h": 235.052,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.37027,
"c": 0.14603,
"h": 273
},
"luminance": 0.04638
}Semantic roles & 50–950 ramp
primary
#2A328B
secondary
#B5AE5C
accent
#D14BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F