#30358F#30358F
#30358F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.146 H 274.7°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #30358F |
|---|---|
| RGB | rgb(48, 53, 143) |
| HSL | hsl(237, 50%, 37%) |
| HSV | hsv(237, 66%, 56%) |
| CMYK | cmyk(66.4%, 62.9%, 0%, 43.9%) |
| CIE-LAB | lab(27.18, 27.85, -50.56) |
| CIE-LCH | lch(27.18, 57.72, 298.85°) |
| OKLab | oklab(38.34% 0.012 -0.1457) |
| OKLCH | oklch(38.34% 0.146 274.7) |
| XYZ | xyz(7.4483, 5.1571, 26.5842) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.30
Blueberry
#464196
ΔE00 4.40
Darkslateblue
#483D8B
ΔE00 4.59
Ocean Blue
#4F42B5
ΔE00 7.60
Royal
#0C1793
ΔE00 7.88
Cobalt
#0047AB
ΔE00 8.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30358F #8F8A30
analogous
#30658F #30358F #5A308F
triadic
#30358F #8F3035 #358F30
tetradic
#30358F #8F3065 #8F8A30 #308F5A
square
#30358F #8F3065 #8F8A30 #308F5A
split-complementary
#30358F #8F5A30 #658F30
monochromatic
#111333 #212461 #30358F #3F46BD #6C71CE
Accessibility & contrast
On white
10.34
#30358F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#30358F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30358F
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30358F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30358F | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #30358f; /* rgb */ color: rgb(48, 53, 143); /* oklch */ color: oklch(38.3% 0.146 274.7);
Tailwind
colors: {
custom: {
50: '#746cb1',
500: '#30358f',
950: '#000000',
},
}SCSS
$custom: #30358f; $custom-light: #746cb1; $custom-dark: #000000;
JSON
{
"hex": "#30358f",
"rgb": {
"r": 48,
"g": 53,
"b": 143
},
"hsl": {
"h": 236.842,
"s": 49.738,
"l": 37.451
},
"oklch": {
"l": 0.38344,
"c": 0.14616,
"h": 274.7
},
"luminance": 0.05158
}Semantic roles & 50–950 ramp
primary
#30358F
secondary
#B5B166
accent
#D24FD9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80