#30399C#30399C
#30399C is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.159 H 272.9°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #30399C |
|---|---|
| RGB | rgb(48, 57, 156) |
| HSL | hsl(235, 53%, 40%) |
| HSV | hsv(235, 69%, 61%) |
| CMYK | cmyk(69.2%, 63.5%, 0%, 38.8%) |
| CIE-LAB | lab(29.30, 29.93, -55.07) |
| CIE-LCH | lch(29.30, 62.67, 298.52°) |
| OKLab | oklab(40.25% 0.0081 -0.1589) |
| OKLCH | oklch(40.25% 0.159 272.9) |
| XYZ | xyz(8.6808, 5.9541, 32.1378) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.44
Blueberry
#464196
ΔE00 3.98
Darkslateblue
#483D8B
ΔE00 5.18
Ocean Blue
#4F42B5
ΔE00 5.98
Blue Blue
#2242C7
ΔE00 6.27
Cobalt
#0047AB
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30399C #9C9330
analogous
#306F9C #30399C #5D309C
triadic
#30399C #9C3039 #399C30
tetradic
#30399C #9C306F #9C9330 #309C5D
square
#30399C #9C306F #9C9330 #309C5D
split-complementary
#30399C #9C5D30 #6F9C30
monochromatic
#13173E #22286D #30399C #444FC5 #737BD4
Accessibility & contrast
On white
9.58
#30399C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#30399C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30399C
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30399C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30399C | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #30399c; /* rgb */ color: rgb(48, 57, 156); /* oklch */ color: oklch(40.2% 0.159 272.9);
Tailwind
colors: {
custom: {
50: '#776fba',
500: '#30399c',
950: '#000000',
},
}SCSS
$custom: #30399c; $custom-light: #776fba; $custom-dark: #000000;
JSON
{
"hex": "#30399c",
"rgb": {
"r": 48,
"g": 57,
"b": 156
},
"hsl": {
"h": 235,
"s": 52.941,
"l": 40
},
"oklch": {
"l": 0.40248,
"c": 0.15908,
"h": 272.9
},
"luminance": 0.05955
}Semantic roles & 50–950 ramp
primary
#30399C
secondary
#BCB56C
accent
#D04BDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81