#30399F#30399F
#30399F is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.5% C 0.163 H 272.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #30399F |
|---|---|
| RGB | rgb(48, 57, 159) |
| HSL | hsl(235, 54%, 41%) |
| HSV | hsv(235, 70%, 62%) |
| CMYK | cmyk(69.8%, 64.2%, 0%, 37.6%) |
| CIE-LAB | lab(29.56, 31.01, -56.46) |
| CIE-LCH | lch(29.56, 64.42, 298.78°) |
| OKLab | oklab(40.52% 0.0079 -0.163) |
| OKLCH | oklch(40.52% 0.163 272.8) |
| XYZ | xyz(8.9380, 6.0570, 33.4922) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.08
Blueberry
#464196
ΔE00 4.13
Darkslateblue
#483D8B
ΔE00 5.43
Ocean Blue
#4F42B5
ΔE00 5.69
Blue Blue
#2242C7
ΔE00 5.89
Cobalt
#0047AB
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30399F #9F9630
analogous
#30709F #30399F #5E309F
triadic
#30399F #9F3039 #399F30
tetradic
#30399F #9F3070 #9F9630 #309F5E
square
#30399F #9F3070 #9F9630 #309F5E
split-complementary
#30399F #9F5E30 #709F30
monochromatic
#141741 #222870 #30399F #4550C7 #747CD5
Accessibility & contrast
On white
9.50
#30399F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#30399F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30399F
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30399F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30399F | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #30399f; /* rgb */ color: rgb(48, 57, 159); /* oklch */ color: oklch(40.5% 0.163 272.8);
Tailwind
colors: {
custom: {
50: '#776fbc',
500: '#30399f',
950: '#000000',
},
}SCSS
$custom: #30399f; $custom-light: #776fbc; $custom-dark: #000000;
JSON
{
"hex": "#30399f",
"rgb": {
"r": 48,
"g": 57,
"b": 159
},
"hsl": {
"h": 235.135,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.40519,
"c": 0.16316,
"h": 272.8
},
"luminance": 0.06058
}Semantic roles & 50–950 ramp
primary
#30399F
secondary
#BDB76E
accent
#D14BDD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81