#30319B#30319B
#30319B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.167 H 274.9°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #30319B |
|---|---|
| RGB | rgb(48, 49, 155) |
| HSL | hsl(239, 53%, 40%) |
| HSV | hsv(239, 69%, 61%) |
| CMYK | cmyk(69%, 68.4%, 0%, 39.2%) |
| CIE-LAB | lab(27.27, 34.70, -57.77) |
| CIE-LCH | lch(27.27, 67.39, 300.99°) |
| OKLab | oklab(38.74% 0.0142 -0.1668) |
| OKLCH | oklch(38.74% 0.167 274.9) |
| XYZ | xyz(8.2317, 5.1908, 31.5721) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.34
Blueberry
#464196
ΔE00 5.36
Darkslateblue
#483D8B
ΔE00 5.82
Indigo Blue
#3A18B1
ΔE00 6.37
Royal
#0C1793
ΔE00 6.52
Ocean Blue
#4F42B5
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30319B #9B9A30
analogous
#30679B #30319B #64309B
triadic
#30319B #9B3031 #319B30
tetradic
#30319B #9B3067 #9B9A30 #309B64
square
#30319B #9B3067 #9B9A30 #309B64
split-complementary
#30319B #9B6430 #679B30
monochromatic
#13133E #22226C #30319B #4345C5 #7273D3
Accessibility & contrast
On white
10.30
#30319B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#30319B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30319B
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30319B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30319B | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #30319b; /* rgb */ color: rgb(48, 49, 155); /* oklch */ color: oklch(38.7% 0.167 274.9);
Tailwind
colors: {
custom: {
50: '#776ab9',
500: '#30319b',
950: '#000000',
},
}SCSS
$custom: #30319b; $custom-light: #776ab9; $custom-dark: #000000;
JSON
{
"hex": "#30319b",
"rgb": {
"r": 48,
"g": 49,
"b": 155
},
"hsl": {
"h": 239.439,
"s": 52.709,
"l": 39.804
},
"oklch": {
"l": 0.38743,
"c": 0.16744,
"h": 274.9
},
"luminance": 0.05192
}Semantic roles & 50–950 ramp
primary
#30319B
secondary
#BBBA6C
accent
#DB4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81