#30379F#30379F
#30379F is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.166 H 273.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #30379F |
|---|---|
| RGB | rgb(48, 55, 159) |
| HSL | hsl(236, 54%, 41%) |
| HSV | hsv(236, 70%, 62%) |
| CMYK | cmyk(69.8%, 65.4%, 0%, 37.6%) |
| CIE-LAB | lab(29.06, 32.30, -57.27) |
| CIE-LCH | lch(29.06, 65.75, 299.43°) |
| OKLab | oklab(40.16% 0.0094 -0.1653) |
| OKLCH | oklch(40.16% 0.166 273.3) |
| XYZ | xyz(8.8410, 5.8631, 33.4599) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.13
Blueberry
#464196
ΔE00 4.41
Darkslateblue
#483D8B
ΔE00 5.52
Ocean Blue
#4F42B5
ΔE00 5.82
Blue Blue
#2242C7
ΔE00 6.14
Cobalt
#0047AB
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30379F #9F9830
analogous
#306E9F #30379F #60309F
triadic
#30379F #9F3037 #379F30
tetradic
#30379F #9F306E #9F9830 #309F60
square
#30379F #9F306E #9F9830 #309F60
split-complementary
#30379F #9F6030 #6E9F30
monochromatic
#141641 #222770 #30379F #454DC7 #747AD5
Accessibility & contrast
On white
9.66
#30379F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#30379F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30379F
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30379F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30379F | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #30379f; /* rgb */ color: rgb(48, 55, 159); /* oklch */ color: oklch(40.2% 0.166 273.3);
Tailwind
colors: {
custom: {
50: '#786ebc',
500: '#30379f',
950: '#000000',
},
}SCSS
$custom: #30379f; $custom-light: #786ebc; $custom-dark: #000000;
JSON
{
"hex": "#30379f",
"rgb": {
"r": 48,
"g": 55,
"b": 159
},
"hsl": {
"h": 236.216,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.40159,
"c": 0.16561,
"h": 273.3
},
"luminance": 0.05864
}Semantic roles & 50–950 ramp
primary
#30379F
secondary
#BDB86E
accent
#D44BDD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81