#303CB6#303CB6
#303CB6 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.190 H 271.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #303CB6 |
|---|---|
| RGB | rgb(48, 60, 182) |
| HSL | hsl(235, 58%, 45%) |
| HSV | hsv(235, 74%, 71%) |
| CMYK | cmyk(73.6%, 67%, 0%, 28.6%) |
| CIE-LAB | lab(32.34, 37.32, -65.69) |
| CIE-LCH | lch(32.34, 75.55, 299.60°) |
| OKLab | oklab(43.19% 0.0042 -0.19) |
| OKLCH | oklch(43.19% 0.19 271.3) |
| XYZ | xyz(11.2754, 7.2363, 45.0494) |
| Luminance | 0.0724 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.34
Blue Blue
#2242C7
ΔE00 2.91
Ocean Blue
#4F42B5
ΔE00 4.12
Blue With A Hint Of Purple
#533CC6
ΔE00 5.18
Blue (survey)
#0343DF
ΔE00 5.50
Blueberry
#464196
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303CB6 #B6AA30
analogous
#307FB6 #303CB6 #6730B6
triadic
#303CB6 #B6303C #3CB630
tetradic
#303CB6 #B6307F #B6AA30 #30B667
square
#303CB6 #B6307F #B6AA30 #30B667
split-complementary
#303CB6 #B66730 #7FB630
monochromatic
#161C55 #232C86 #303CB6 #525DD1 #828BDE
Accessibility & contrast
On white
8.58
#303CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#303CB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303CB6
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303CB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303CB6 | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #303cb6; /* rgb */ color: rgb(48, 60, 182); /* oklch */ color: oklch(43.2% 0.190 271.3);
Tailwind
colors: {
custom: {
50: '#7c72cd',
500: '#303cb6',
950: '#000000',
},
}SCSS
$custom: #303cb6; $custom-light: #7c72cd; $custom-dark: #000000;
JSON
{
"hex": "#303cb6",
"rgb": {
"r": 48,
"g": 60,
"b": 182
},
"hsl": {
"h": 234.627,
"s": 58.261,
"l": 45.098
},
"oklch": {
"l": 0.43186,
"c": 0.19001,
"h": 271.3
},
"luminance": 0.07237
}Semantic roles & 50–950 ramp
primary
#303CB6
secondary
#C7C07B
accent
#D446E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82