#2B319C#2B319C
#2B319C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.170 H 272.7°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2B319C |
|---|---|
| RGB | rgb(43, 49, 156) |
| HSL | hsl(237, 57%, 39%) |
| HSV | hsv(237, 72%, 61%) |
| CMYK | cmyk(72.4%, 68.6%, 0%, 38.8%) |
| CIE-LAB | lab(27.05, 34.43, -58.76) |
| CIE-LCH | lch(27.05, 68.11, 300.37°) |
| OKLab | oklab(38.52% 0.0081 -0.1699) |
| OKLCH | oklch(38.52% 0.17 272.7) |
| XYZ | xyz(8.0933, 5.1097, 32.0058) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.97
Blueberry
#464196
ΔE00 5.67
Darkslateblue
#483D8B
ΔE00 6.24
Royal
#0C1793
ΔE00 6.45
Indigo Blue
#3A18B1
ΔE00 6.56
Ocean Blue
#4F42B5
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B319C #9C962B
analogous
#2B6A9C #2B319C #5E2B9C
triadic
#2B319C #9C2B31 #319C2B
tetradic
#2B319C #9C2B6A #9C962B #2B9C5E
square
#2B319C #9C2B6A #9C962B #2B9C5E
split-complementary
#2B319C #9C5E2B #6A9C2B
monochromatic
#11133C #1E226C #2B319C #3B43C9 #6B71D6
Accessibility & contrast
On white
10.38
#2B319C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2B319C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B319C
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B319C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B319C | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2b319c; /* rgb */ color: rgb(43, 49, 156); /* oklch */ color: oklch(38.5% 0.170 272.7);
Tailwind
colors: {
custom: {
50: '#7569ba',
500: '#2b319c',
950: '#000000',
},
}SCSS
$custom: #2b319c; $custom-light: #7569ba; $custom-dark: #000000;
JSON
{
"hex": "#2b319c",
"rgb": {
"r": 43,
"g": 49,
"b": 156
},
"hsl": {
"h": 236.814,
"s": 56.784,
"l": 39.02
},
"oklch": {
"l": 0.38522,
"c": 0.17006,
"h": 272.7
},
"luminance": 0.05111
}Semantic roles & 50–950 ramp
primary
#2B319C
secondary
#BDB866
accent
#D848E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81