#30309C#30309C
#30309C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.170 H 275.0°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #30309C |
|---|---|
| RGB | rgb(48, 48, 156) |
| HSL | hsl(240, 53%, 40%) |
| HSV | hsv(240, 69%, 61%) |
| CMYK | cmyk(69.2%, 69.2%, 0%, 38.8%) |
| CIE-LAB | lab(27.14, 35.67, -58.60) |
| CIE-LCH | lch(27.14, 68.61, 301.33°) |
| OKLab | oklab(38.67% 0.0148 -0.1693) |
| OKLCH | oklch(38.67% 0.17 275) |
| XYZ | xyz(8.2746, 5.1418, 32.0024) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.45
Blueberry
#464196
ΔE00 5.61
Indigo Blue
#3A18B1
ΔE00 6.03
Darkslateblue
#483D8B
ΔE00 6.04
Royal
#0C1793
ΔE00 6.28
Ocean Blue
#4F42B5
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#30309C #9C9C30
analogous
#30669C #30309C #66309C
triadic
#30309C #9C3030 #309C30
tetradic
#30309C #9C3066 #9C9C30 #309C66
square
#30309C #9C3066 #9C9C30 #309C66
split-complementary
#30309C #9C6630 #669C30
monochromatic
#13133E #22226D #30309C #4444C5 #7373D4
Accessibility & contrast
On white
10.35
#30309C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#30309C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #30309C
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##30309C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##30309C | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#003B9A
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #30309c; /* rgb */ color: rgb(48, 48, 156); /* oklch */ color: oklch(38.7% 0.170 275.0);
Tailwind
colors: {
custom: {
50: '#7769ba',
500: '#30309c',
950: '#000000',
},
}SCSS
$custom: #30309c; $custom-light: #7769ba; $custom-dark: #000000;
JSON
{
"hex": "#30309c",
"rgb": {
"r": 48,
"g": 48,
"b": 156
},
"hsl": {
"h": 240,
"s": 52.941,
"l": 40
},
"oklch": {
"l": 0.38673,
"c": 0.16992,
"h": 275
},
"luminance": 0.05143
}Semantic roles & 50–950 ramp
primary
#30309C
secondary
#BCBC6C
accent
#DC4BDC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81