#2A328C#2A328C
#2A328C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.147 H 272.9°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2A328C |
|---|---|
| RGB | rgb(42, 50, 140) |
| HSL | hsl(235, 54%, 36%) |
| HSV | hsv(235, 70%, 55%) |
| CMYK | cmyk(70%, 64.3%, 0%, 45.1%) |
| CIE-LAB | lab(25.76, 27.84, -51.03) |
| CIE-LCH | lch(25.76, 58.13, 298.61°) |
| OKLab | oklab(37.12% 0.0075 -0.1472) |
| OKLCH | oklch(37.12% 0.147 272.9) |
| XYZ | xyz(6.8275, 4.6663, 25.3467) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.69
Darkslateblue
#483D8B
ΔE00 5.46
Blueberry
#464196
ΔE00 5.47
Royal
#0C1793
ΔE00 7.15
Midnight Blue
#191970
ΔE00 7.47
Cobalt (survey)
#1E488F
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A328C #8C842A
analogous
#2A638C #2A328C #532A8C
triadic
#2A328C #8C2A32 #328C2A
tetradic
#2A328C #8C2A63 #8C842A #2A8C53
square
#2A328C #8C2A63 #8C842A #2A8C53
split-complementary
#2A328C #8C532A #638C2A
monochromatic
#0E102E #1C215D #2A328C #3843BB #616AD0
Accessibility & contrast
On white
10.86
#2A328C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2A328C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A328C
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A328C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A328C | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2a328c; /* rgb */ color: rgb(42, 50, 140); /* oklch */ color: oklch(37.1% 0.147 272.9);
Tailwind
colors: {
custom: {
50: '#716aae',
500: '#2a328c',
950: '#000000',
},
}SCSS
$custom: #2a328c; $custom-light: #716aae; $custom-dark: #000000;
JSON
{
"hex": "#2a328c",
"rgb": {
"r": 42,
"g": 50,
"b": 140
},
"hsl": {
"h": 235.102,
"s": 53.846,
"l": 35.686
},
"oklch": {
"l": 0.37119,
"c": 0.14742,
"h": 272.9
},
"luminance": 0.04667
}Semantic roles & 50–950 ramp
primary
#2A328C
secondary
#B5AE5C
accent
#D14BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F