#2A328F#2A328F
#2A328F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.152 H 272.8°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2A328F |
|---|---|
| RGB | rgb(42, 50, 143) |
| HSL | hsl(235, 55%, 36%) |
| HSV | hsv(235, 71%, 56%) |
| CMYK | cmyk(70.6%, 65%, 0%, 43.9%) |
| CIE-LAB | lab(26.03, 28.94, -52.45) |
| CIE-LCH | lch(26.03, 59.91, 298.89°) |
| OKLab | oklab(37.4% 0.0074 -0.1514) |
| OKLCH | oklch(37.4% 0.152 272.8) |
| XYZ | xyz(7.0517, 4.7559, 26.5276) |
| Luminance | 0.0476 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.27
Blueberry
#464196
ΔE00 5.41
Darkslateblue
#483D8B
ΔE00 5.53
Royal
#0C1793
ΔE00 6.98
Midnight Blue
#191970
ΔE00 7.65
Ocean Blue
#4F42B5
ΔE00 8.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A328F #8F872A
analogous
#2A658F #2A328F #552A8F
triadic
#2A328F #8F2A32 #328F2A
tetradic
#2A328F #8F2A65 #8F872A #2A8F55
square
#2A328F #8F2A65 #8F872A #2A8F55
split-complementary
#2A328F #8F552A #658F2A
monochromatic
#0E1130 #1C2160 #2A328F #3843BE #626BD1
Accessibility & contrast
On white
10.76
#2A328F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2A328F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A328F
10.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A328F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A328F | 1.00 | 10.76 | 1.95 | 10.76 |
| #FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a328f; /* rgb */ color: rgb(42, 50, 143); /* oklch */ color: oklch(37.4% 0.152 272.8);
Tailwind
colors: {
custom: {
50: '#726ab1',
500: '#2a328f',
950: '#000000',
},
}SCSS
$custom: #2a328f; $custom-light: #726ab1; $custom-dark: #000000;
JSON
{
"hex": "#2a328f",
"rgb": {
"r": 42,
"g": 50,
"b": 143
},
"hsl": {
"h": 235.248,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.37396,
"c": 0.15159,
"h": 272.8
},
"luminance": 0.04757
}Semantic roles & 50–950 ramp
primary
#2A328F
secondary
#B7B05E
accent
#D24ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80