#303296#303296
#303296 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.160 H 275.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #303296 |
|---|---|
| RGB | rgb(48, 50, 150) |
| HSL | hsl(239, 52%, 39%) |
| HSV | hsv(239, 68%, 59%) |
| CMYK | cmyk(68%, 66.7%, 0%, 41.2%) |
| CIE-LAB | lab(27.05, 32.31, -55.08) |
| CIE-LCH | lch(27.05, 63.85, 300.40°) |
| OKLab | oklab(38.44% 0.014 -0.1589) |
| OKLCH | oklch(38.44% 0.16 275) |
| XYZ | xyz(7.8627, 5.1109, 29.4204) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.66
Blueberry
#464196
ΔE00 5.01
Darkslateblue
#483D8B
ΔE00 5.32
Royal
#0C1793
ΔE00 6.80
Indigo Blue
#3A18B1
ΔE00 7.11
Ocean Blue
#4F42B5
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303296 #969430
analogous
#306596 #303296 #613096
triadic
#303296 #963032 #329630
tetradic
#303296 #963065 #969430 #309661
square
#303296 #963065 #969430 #309661
split-complementary
#303296 #966130 #659630
monochromatic
#121339 #212368 #303296 #4144C2 #6F71D1
Accessibility & contrast
On white
10.38
#303296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#303296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303296
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303296 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #303296; /* rgb */ color: rgb(48, 50, 150); /* oklch */ color: oklch(38.4% 0.160 275.0);
Tailwind
colors: {
custom: {
50: '#766ab6',
500: '#303296',
950: '#000000',
},
}SCSS
$custom: #303296; $custom-light: #766ab6; $custom-dark: #000000;
JSON
{
"hex": "#303296",
"rgb": {
"r": 48,
"g": 50,
"b": 150
},
"hsl": {
"h": 238.824,
"s": 51.515,
"l": 38.824
},
"oklch": {
"l": 0.38439,
"c": 0.15955,
"h": 275
},
"luminance": 0.05112
}Semantic roles & 50–950 ramp
primary
#303296
secondary
#B9B769
accent
#D84DDB
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80