#30398F#30398F
#30398F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.141 H 273.4°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #30398F |
|---|---|
| RGB | rgb(48, 57, 143) |
| HSL | hsl(234, 50%, 37%) |
| HSV | hsv(234, 66%, 56%) |
| CMYK | cmyk(66.4%, 60.1%, 0%, 43.9%) |
| CIE-LAB | lab(28.21, 25.20, -48.87) |
| CIE-LCH | lch(28.21, 54.98, 297.27°) |
| OKLab | oklab(39.11% 0.0084 -0.1407) |
| OKLCH | oklch(39.11% 0.141 273.4) |
| XYZ | xyz(7.6383, 5.5371, 26.6475) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.90
Sapphire (survey)
#2138AB
ΔE00 4.31
Darkslateblue
#483D8B
ΔE00 4.45
Cobalt (survey)
#1E488F
ΔE00 6.88
Cobalt
#0047AB
ΔE00 7.13
Ocean Blue
#4F42B5
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30398F #8F8630
analogous
#30688F #30398F #57308F
triadic
#30398F #8F3039 #398F30
tetradic
#30398F #8F3068 #8F8630 #308F57
square
#30398F #8F3068 #8F8630 #308F57
split-complementary
#30398F #8F5730 #688F30
monochromatic
#111433 #212761 #30398F #3F4BBD #6C75CE
Accessibility & contrast
On white
9.96
#30398F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#30398F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30398F
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30398F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30398F | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #30398f; /* rgb */ color: rgb(48, 57, 143); /* oklch */ color: oklch(39.1% 0.141 273.4);
Tailwind
colors: {
custom: {
50: '#746fb0',
500: '#30398f',
950: '#000000',
},
}SCSS
$custom: #30398f; $custom-light: #746fb0; $custom-dark: #000000;
JSON
{
"hex": "#30398f",
"rgb": {
"r": 48,
"g": 57,
"b": 143
},
"hsl": {
"h": 234.316,
"s": 49.738,
"l": 37.451
},
"oklch": {
"l": 0.3911,
"c": 0.14093,
"h": 273.4
},
"luminance": 0.05538
}Semantic roles & 50–950 ramp
primary
#30398F
secondary
#B5AD66
accent
#CC4FD9
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80