#30309B#30309B
#30309B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.169 H 275.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #30309B |
|---|---|
| RGB | rgb(48, 48, 155) |
| HSL | hsl(240, 53%, 40%) |
| HSV | hsv(240, 69%, 61%) |
| CMYK | cmyk(69%, 69%, 0%, 39.2%) |
| CIE-LAB | lab(27.04, 35.33, -58.15) |
| CIE-LCH | lch(27.04, 68.04, 301.28°) |
| OKLab | oklab(38.57% 0.0149 -0.1679) |
| OKLCH | oklch(38.57% 0.169 275.1) |
| XYZ | xyz(8.1903, 5.1081, 31.5583) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.53
Blueberry
#464196
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 5.96
Indigo Blue
#3A18B1
ΔE00 6.12
Royal
#0C1793
ΔE00 6.27
Ocean Blue
#4F42B5
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30309B #9B9B30
analogous
#30669B #30309B #66309B
triadic
#30309B #9B3030 #309B30
tetradic
#30309B #9B3066 #9B9B30 #309B66
square
#30309B #9B3066 #9B9B30 #309B66
split-complementary
#30309B #9B6630 #669B30
monochromatic
#13133E #22226C #30309B #4343C5 #7272D3
Accessibility & contrast
On white
10.39
#30309B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#30309B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30309B
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30309B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30309B | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #30309b; /* rgb */ color: rgb(48, 48, 155); /* oklch */ color: oklch(38.6% 0.169 275.1);
Tailwind
colors: {
custom: {
50: '#7769b9',
500: '#30309b',
950: '#000000',
},
}SCSS
$custom: #30309b; $custom-light: #7769b9; $custom-dark: #000000;
JSON
{
"hex": "#30309b",
"rgb": {
"r": 48,
"g": 48,
"b": 155
},
"hsl": {
"h": 240,
"s": 52.709,
"l": 39.804
},
"oklch": {
"l": 0.38575,
"c": 0.16861,
"h": 275.1
},
"luminance": 0.05109
}Semantic roles & 50–950 ramp
primary
#30309B
secondary
#BBBB6C
accent
#DC4CDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81