#303694#303694
#303694 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.152 H 274.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #303694 |
|---|---|
| RGB | rgb(48, 54, 148) |
| HSL | hsl(236, 51%, 38%) |
| HSV | hsv(236, 68%, 58%) |
| CMYK | cmyk(67.6%, 63.5%, 0%, 42%) |
| CIE-LAB | lab(27.86, 29.00, -52.53) |
| CIE-LCH | lch(27.86, 60.00, 298.90°) |
| OKLab | oklab(38.98% 0.0109 -0.1514) |
| OKLCH | oklch(38.98% 0.152 274.1) |
| XYZ | xyz(7.8816, 5.4041, 28.6390) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.54
Blueberry
#464196
ΔE00 4.21
Darkslateblue
#483D8B
ΔE00 4.76
Ocean Blue
#4F42B5
ΔE00 6.97
Cobalt
#0047AB
ΔE00 7.62
Blue Blue
#2242C7
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303694 #948E30
analogous
#306894 #303694 #5C3094
triadic
#303694 #943036 #369430
tetradic
#303694 #943068 #948E30 #30945C
square
#303694 #943068 #948E30 #30945C
split-complementary
#303694 #945C30 #689430
monochromatic
#121438 #212566 #303694 #4048C1 #6E74D0
Accessibility & contrast
On white
10.09
#303694 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#303694 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303694
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303694 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303694 | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #303694; /* rgb */ color: rgb(48, 54, 148); /* oklch */ color: oklch(39.0% 0.152 274.1);
Tailwind
colors: {
custom: {
50: '#756db4',
500: '#303694',
950: '#000000',
},
}SCSS
$custom: #303694; $custom-light: #756db4; $custom-dark: #000000;
JSON
{
"hex": "#303694",
"rgb": {
"r": 48,
"g": 54,
"b": 148
},
"hsl": {
"h": 236.4,
"s": 51.02,
"l": 38.431
},
"oklch": {
"l": 0.38976,
"c": 0.15184,
"h": 274.1
},
"luminance": 0.05405
}Semantic roles & 50–950 ramp
primary
#303694
secondary
#B8B368
accent
#D24DDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80