#30389F#30389F
#30389F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.164 H 273.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #30389F |
|---|---|
| RGB | rgb(48, 56, 159) |
| HSL | hsl(236, 54%, 41%) |
| HSV | hsv(236, 70%, 62%) |
| CMYK | cmyk(69.8%, 64.8%, 0%, 37.6%) |
| CIE-LAB | lab(29.31, 31.66, -56.87) |
| CIE-LCH | lch(29.31, 65.08, 299.11°) |
| OKLab | oklab(40.34% 0.0087 -0.1642) |
| OKLCH | oklch(40.34% 0.164 273) |
| XYZ | xyz(8.8890, 5.9591, 33.4759) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.08
Blueberry
#464196
ΔE00 4.26
Darkslateblue
#483D8B
ΔE00 5.47
Ocean Blue
#4F42B5
ΔE00 5.75
Blue Blue
#2242C7
ΔE00 6.01
Cobalt
#0047AB
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30389F #9F9730
analogous
#306F9F #30389F #60309F
triadic
#30389F #9F3038 #389F30
tetradic
#30389F #9F306F #9F9730 #309F60
square
#30389F #9F306F #9F9730 #309F60
split-complementary
#30389F #9F6030 #6F9F30
monochromatic
#141741 #222770 #30389F #454FC7 #747BD5
Accessibility & contrast
On white
9.58
#30389F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#30389F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30389F
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30389F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30389F | 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)
#004AA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #30389f; /* rgb */ color: rgb(48, 56, 159); /* oklch */ color: oklch(40.3% 0.164 273.0);
Tailwind
colors: {
custom: {
50: '#776ebc',
500: '#30389f',
950: '#000000',
},
}SCSS
$custom: #30389f; $custom-light: #776ebc; $custom-dark: #000000;
JSON
{
"hex": "#30389f",
"rgb": {
"r": 48,
"g": 56,
"b": 159
},
"hsl": {
"h": 235.676,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.40338,
"c": 0.16439,
"h": 273
},
"luminance": 0.0596
}Semantic roles & 50–950 ramp
primary
#30389F
secondary
#BDB76E
accent
#D24BDD
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81