#303696#303696
#303696 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.155 H 274.0°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #303696 |
|---|---|
| RGB | rgb(48, 54, 150) |
| HSL | hsl(236, 52%, 39%) |
| HSV | hsv(236, 68%, 59%) |
| CMYK | cmyk(68%, 64%, 0%, 41.2%) |
| CIE-LAB | lab(28.03, 29.72, -53.47) |
| CIE-LCH | lch(28.03, 61.18, 299.07°) |
| OKLab | oklab(39.16% 0.0108 -0.1542) |
| OKLCH | oklch(39.16% 0.155 274) |
| XYZ | xyz(8.0413, 5.4680, 29.4799) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.27
Blueberry
#464196
ΔE00 4.24
Darkslateblue
#483D8B
ΔE00 4.89
Ocean Blue
#4F42B5
ΔE00 6.76
Blue Blue
#2242C7
ΔE00 7.38
Cobalt
#0047AB
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303696 #969030
analogous
#306996 #303696 #5D3096
triadic
#303696 #963036 #369630
tetradic
#303696 #963069 #969030 #30965D
square
#303696 #963069 #969030 #30965D
split-complementary
#303696 #965D30 #699630
monochromatic
#121539 #212568 #303696 #4149C2 #6F75D1
Accessibility & contrast
On white
10.03
#303696 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#303696 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303696
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303696 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303696 | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003E94
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #303696; /* rgb */ color: rgb(48, 54, 150); /* oklch */ color: oklch(39.2% 0.155 274.0);
Tailwind
colors: {
custom: {
50: '#766db6',
500: '#303696',
950: '#000000',
},
}SCSS
$custom: #303696; $custom-light: #766db6; $custom-dark: #000000;
JSON
{
"hex": "#303696",
"rgb": {
"r": 48,
"g": 54,
"b": 150
},
"hsl": {
"h": 236.471,
"s": 51.515,
"l": 38.824
},
"oklch": {
"l": 0.39156,
"c": 0.1546,
"h": 274
},
"luminance": 0.05469
}Semantic roles & 50–950 ramp
primary
#303696
secondary
#B9B469
accent
#D34DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80