#30349E#30349E
#30349E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.168 H 274.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #30349E |
|---|---|
| RGB | rgb(48, 52, 158) |
| HSL | hsl(238, 53%, 40%) |
| HSV | hsv(238, 70%, 62%) |
| CMYK | cmyk(69.6%, 67.1%, 0%, 38%) |
| CIE-LAB | lab(28.25, 33.86, -57.99) |
| CIE-LCH | lch(28.25, 67.15, 300.28°) |
| OKLab | oklab(39.54% 0.0117 -0.1675) |
| OKLCH | oklch(39.54% 0.168 274) |
| XYZ | xyz(8.6164, 5.5522, 32.9587) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.57
Blueberry
#464196
ΔE00 4.88
Darkslateblue
#483D8B
ΔE00 5.68
Ocean Blue
#4F42B5
ΔE00 6.19
Blue Blue
#2242C7
ΔE00 6.70
Indigo Blue
#3A18B1
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30349E #9E9A30
analogous
#306B9E #30349E #63309E
triadic
#30349E #9E3034 #349E30
tetradic
#30349E #9E306B #9E9A30 #309E63
square
#30349E #9E306B #9E9A30 #309E63
split-complementary
#30349E #9E6330 #6B9E30
monochromatic
#131540 #22256F #30349E #4549C6 #7477D5
Accessibility & contrast
On white
9.95
#30349E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#30349E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30349E
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30349E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30349E | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #30349e; /* rgb */ color: rgb(48, 52, 158); /* oklch */ color: oklch(39.5% 0.168 274.0);
Tailwind
colors: {
custom: {
50: '#786cbc',
500: '#30349e',
950: '#000000',
},
}SCSS
$custom: #30349e; $custom-light: #786cbc; $custom-dark: #000000;
JSON
{
"hex": "#30349e",
"rgb": {
"r": 48,
"g": 52,
"b": 158
},
"hsl": {
"h": 237.818,
"s": 53.398,
"l": 40.392
},
"oklch": {
"l": 0.3954,
"c": 0.16787,
"h": 274
},
"luminance": 0.05553
}Semantic roles & 50–950 ramp
primary
#30349E
secondary
#BDBA6D
accent
#D74BDD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81