#30398E#30398E
#30398E is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.0% C 0.140 H 273.5°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #30398E |
|---|---|
| RGB | rgb(48, 57, 142) |
| HSL | hsl(234, 49%, 37%) |
| HSV | hsv(234, 66%, 56%) |
| CMYK | cmyk(66.2%, 59.9%, 0%, 44.3%) |
| CIE-LAB | lab(28.13, 24.83, -48.39) |
| CIE-LCH | lch(28.13, 54.38, 297.16°) |
| OKLab | oklab(39.03% 0.0084 -0.1393) |
| OKLCH | oklch(39.03% 0.14 273.5) |
| XYZ | xyz(7.5629, 5.5070, 26.2503) |
| Luminance | 0.0551 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.93
Darkslateblue
#483D8B
ΔE00 4.42
Sapphire (survey)
#2138AB
ΔE00 4.46
Cobalt (survey)
#1E488F
ΔE00 6.86
Cobalt
#0047AB
ΔE00 7.19
Ocean Blue
#4F42B5
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30398E #8E8530
analogous
#30688E #30398E #56308E
triadic
#30398E #8E3039 #398E30
tetradic
#30398E #8E3068 #8E8530 #308E56
square
#30398E #8E3068 #8E8530 #308E56
split-complementary
#30398E #8E5630 #688E30
monochromatic
#111433 #212760 #30398E #3F4BBC #6B75CD
Accessibility & contrast
On white
9.99
#30398E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#30398E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30398E
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30398E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30398E | 1.00 | 9.99 | 2.10 | 9.99 |
| #FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #30398e; /* rgb */ color: rgb(48, 57, 142); /* oklch */ color: oklch(39.0% 0.140 273.5);
Tailwind
colors: {
custom: {
50: '#746fb0',
500: '#30398e',
950: '#000000',
},
}SCSS
$custom: #30398e; $custom-light: #746fb0; $custom-dark: #000000;
JSON
{
"hex": "#30398e",
"rgb": {
"r": 48,
"g": 57,
"b": 142
},
"hsl": {
"h": 234.255,
"s": 49.474,
"l": 37.255
},
"oklch": {
"l": 0.39025,
"c": 0.1395,
"h": 273.5
},
"luminance": 0.05508
}Semantic roles & 50–950 ramp
primary
#30398E
secondary
#B4AD65
accent
#CC4FD9
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F