#2B319E#2B319E
#2B319E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.173 H 272.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2B319E |
|---|---|
| RGB | rgb(43, 49, 158) |
| HSL | hsl(237, 57%, 39%) |
| HSV | hsv(237, 73%, 62%) |
| CMYK | cmyk(72.8%, 69%, 0%, 38%) |
| CIE-LAB | lab(27.24, 35.15, -59.67) |
| CIE-LCH | lch(27.24, 69.25, 300.50°) |
| OKLab | oklab(38.72% 0.0079 -0.1725) |
| OKLCH | oklch(38.72% 0.173 272.6) |
| XYZ | xyz(8.2641, 5.1780, 32.9051) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.81
Blueberry
#464196
ΔE00 5.74
Darkslateblue
#483D8B
ΔE00 6.38
Indigo Blue
#3A18B1
ΔE00 6.38
Royal
#0C1793
ΔE00 6.47
Ocean Blue
#4F42B5
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B319E #9E982B
analogous
#2B6A9E #2B319E #5F2B9E
triadic
#2B319E #9E2B31 #319E2B
tetradic
#2B319E #9E2B6A #9E982B #2B9E5F
square
#2B319E #9E2B6A #9E982B #2B9E5F
split-complementary
#2B319E #9E5F2B #6A9E2B
monochromatic
#11133E #1E226E #2B319E #3C44CA #6C72D7
Accessibility & contrast
On white
10.32
#2B319E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2B319E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B319E
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B319E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B319E | 1.00 | 10.32 | 2.04 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2b319e; /* rgb */ color: rgb(43, 49, 158); /* oklch */ color: oklch(38.7% 0.173 272.6);
Tailwind
colors: {
custom: {
50: '#7669bc',
500: '#2b319e',
950: '#000000',
},
}SCSS
$custom: #2b319e; $custom-light: #7669bc; $custom-dark: #000000;
JSON
{
"hex": "#2b319e",
"rgb": {
"r": 43,
"g": 49,
"b": 158
},
"hsl": {
"h": 236.87,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.38719,
"c": 0.1727,
"h": 272.6
},
"luminance": 0.05179
}Semantic roles & 50–950 ramp
primary
#2B319E
secondary
#BEB967
accent
#D847E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81