#303693#303693
#303693 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.150 H 274.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #303693 |
|---|---|
| RGB | rgb(48, 54, 147) |
| HSL | hsl(236, 51%, 38%) |
| HSV | hsv(236, 67%, 58%) |
| CMYK | cmyk(67.3%, 63.3%, 0%, 42.4%) |
| CIE-LAB | lab(27.77, 28.64, -52.05) |
| CIE-LCH | lch(27.77, 59.41, 298.82°) |
| OKLab | oklab(38.89% 0.011 -0.15) |
| OKLCH | oklch(38.89% 0.15 274.2) |
| XYZ | xyz(7.8028, 5.3726, 28.2239) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.68
Blueberry
#464196
ΔE00 4.21
Darkslateblue
#483D8B
ΔE00 4.70
Ocean Blue
#4F42B5
ΔE00 7.08
Cobalt
#0047AB
ΔE00 7.66
Blue Blue
#2242C7
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303693 #938D30
analogous
#306793 #303693 #5B3093
triadic
#303693 #933036 #369330
tetradic
#303693 #933067 #938D30 #30935B
square
#303693 #933067 #938D30 #30935B
split-complementary
#303693 #935B30 #679330
monochromatic
#121437 #212565 #303693 #4047C1 #6E74D0
Accessibility & contrast
On white
10.12
#303693 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#303693 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303693
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303693 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303693 | 1.00 | 10.12 | 2.07 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #303693; /* rgb */ color: rgb(48, 54, 147); /* oklch */ color: oklch(38.9% 0.150 274.2);
Tailwind
colors: {
custom: {
50: '#756db3',
500: '#303693',
950: '#000000',
},
}SCSS
$custom: #303693; $custom-light: #756db3; $custom-dark: #000000;
JSON
{
"hex": "#303693",
"rgb": {
"r": 48,
"g": 54,
"b": 147
},
"hsl": {
"h": 236.364,
"s": 50.769,
"l": 38.235
},
"oklch": {
"l": 0.38887,
"c": 0.15045,
"h": 274.2
},
"luminance": 0.05373
}Semantic roles & 50–950 ramp
primary
#303693
secondary
#B7B268
accent
#D24EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80