#303594#303594
#303594 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.153 H 274.4°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).
Color values
| HEX | #303594 |
|---|---|
| RGB | rgb(48, 53, 148) |
| HSL | hsl(237, 51%, 38%) |
| HSV | hsv(237, 68%, 58%) |
| CMYK | cmyk(67.6%, 64.2%, 0%, 42%) |
| CIE-LAB | lab(27.61, 29.66, -52.94) |
| CIE-LCH | lch(27.61, 60.68, 299.26°) |
| OKLab | oklab(38.79% 0.0117 -0.1527) |
| OKLCH | oklch(38.79% 0.153 274.4) |
| XYZ | xyz(7.8356, 5.3120, 28.6236) |
| Luminance | 0.0531 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.60
Blueberry
#464196
ΔE00 4.39
Darkslateblue
#483D8B
ΔE00 4.84
Ocean Blue
#4F42B5
ΔE00 7.04
Royal
#0C1793
ΔE00 7.68
Blue Blue
#2242C7
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303594 #948F30
analogous
#306794 #303594 #5D3094
triadic
#303594 #943035 #359430
tetradic
#303594 #943067 #948F30 #30945D
square
#303594 #943067 #948F30 #30945D
split-complementary
#303594 #945D30 #679430
monochromatic
#121438 #212466 #303594 #4047C1 #6E73D0
Accessibility & contrast
On white
10.18
#303594 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#303594 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303594
10.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303594 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303594 | 1.00 | 10.18 | 2.06 | 10.18 |
| #FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003D92
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #303594; /* rgb */ color: rgb(48, 53, 148); /* oklch */ color: oklch(38.8% 0.153 274.4);
Tailwind
colors: {
custom: {
50: '#756cb4',
500: '#303594',
950: '#000000',
},
}SCSS
$custom: #303594; $custom-light: #756cb4; $custom-dark: #000000;
JSON
{
"hex": "#303594",
"rgb": {
"r": 48,
"g": 53,
"b": 148
},
"hsl": {
"h": 237,
"s": 51.02,
"l": 38.431
},
"oklch": {
"l": 0.38792,
"c": 0.15311,
"h": 274.4
},
"luminance": 0.05313
}Semantic roles & 50–950 ramp
primary
#303594
secondary
#B8B468
accent
#D34DDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80