#30319F#30319F
#30319F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.1% C 0.173 H 274.6°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #30319F |
|---|---|
| RGB | rgb(48, 49, 159) |
| HSL | hsl(239, 54%, 41%) |
| HSV | hsv(239, 70%, 62%) |
| CMYK | cmyk(69.8%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(27.65, 36.10, -59.59) |
| CIE-LCH | lch(27.65, 69.67, 301.21°) |
| OKLab | oklab(39.13% 0.0137 -0.1722) |
| OKLCH | oklch(39.13% 0.173 274.6) |
| XYZ | xyz(8.5732, 5.3274, 33.3707) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.04
Blueberry
#464196
ΔE00 5.52
Indigo Blue
#3A18B1
ΔE00 6.02
Darkslateblue
#483D8B
ΔE00 6.13
Ocean Blue
#4F42B5
ΔE00 6.49
Royal
#0C1793
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30319F #9F9E30
analogous
#30699F #30319F #66309F
triadic
#30319F #9F3031 #319F30
tetradic
#30319F #9F3069 #9F9E30 #309F66
square
#30319F #9F3069 #9F9E30 #309F66
split-complementary
#30319F #9F6630 #699F30
monochromatic
#141441 #222370 #30319F #4546C7 #7475D5
Accessibility & contrast
On white
10.17
#30319F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#30319F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30319F
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30319F | 1.00 | 10.17 | 2.07 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003C9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #30319f; /* rgb */ color: rgb(48, 49, 159); /* oklch */ color: oklch(39.1% 0.173 274.6);
Tailwind
colors: {
custom: {
50: '#786abc',
500: '#30319f',
950: '#000000',
},
}SCSS
$custom: #30319f; $custom-light: #786abc; $custom-dark: #000000;
JSON
{
"hex": "#30319f",
"rgb": {
"r": 48,
"g": 49,
"b": 159
},
"hsl": {
"h": 239.459,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.3913,
"c": 0.17271,
"h": 274.6
},
"luminance": 0.05328
}Semantic roles & 50–950 ramp
primary
#30319F
secondary
#BDBC6E
accent
#DC4BDD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81