#303692#303692
#303692 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.8% C 0.149 H 274.2°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #303692 |
|---|---|
| RGB | rgb(48, 54, 146) |
| HSL | hsl(236, 51%, 38%) |
| HSV | hsv(236, 67%, 57%) |
| CMYK | cmyk(67.1%, 63%, 0%, 42.7%) |
| CIE-LAB | lab(27.69, 28.28, -51.58) |
| CIE-LCH | lch(27.69, 58.82, 298.73°) |
| OKLab | oklab(38.8% 0.011 -0.1487) |
| OKLCH | oklch(38.8% 0.149 274.2) |
| XYZ | xyz(7.7247, 5.3414, 27.8125) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.83
Blueberry
#464196
ΔE00 4.21
Darkslateblue
#483D8B
ΔE00 4.65
Ocean Blue
#4F42B5
ΔE00 7.20
Cobalt
#0047AB
ΔE00 7.71
Cobalt (survey)
#1E488F
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303692 #928C30
analogous
#306792 #303692 #5B3092
triadic
#303692 #923036 #369230
tetradic
#303692 #923067 #928C30 #30925B
square
#303692 #923067 #928C30 #30925B
split-complementary
#303692 #925B30 #679230
monochromatic
#121436 #212564 #303692 #3F47C0 #6D73CF
Accessibility & contrast
On white
10.15
#303692 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#303692 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303692
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303692 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303692 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #303692; /* rgb */ color: rgb(48, 54, 146); /* oklch */ color: oklch(38.8% 0.149 274.2);
Tailwind
colors: {
custom: {
50: '#756db3',
500: '#303692',
950: '#000000',
},
}SCSS
$custom: #303692; $custom-light: #756db3; $custom-dark: #000000;
JSON
{
"hex": "#303692",
"rgb": {
"r": 48,
"g": 54,
"b": 146
},
"hsl": {
"h": 236.327,
"s": 50.515,
"l": 38.039
},
"oklch": {
"l": 0.38798,
"c": 0.14907,
"h": 274.2
},
"luminance": 0.05342
}Semantic roles & 50–950 ramp
primary
#303692
secondary
#B7B267
accent
#D14EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80