#303CB1#303CB1
#303CB1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.184 H 271.4°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #303CB1 |
|---|---|
| RGB | rgb(48, 60, 177) |
| HSL | hsl(234, 57%, 44%) |
| HSV | hsv(234, 73%, 69%) |
| CMYK | cmyk(72.9%, 66.1%, 0%, 30.6%) |
| CIE-LAB | lab(31.88, 35.55, -63.47) |
| CIE-LCH | lch(31.88, 72.74, 299.25°) |
| OKLab | oklab(42.71% 0.0046 -0.1835) |
| OKLCH | oklch(42.71% 0.184 271.4) |
| XYZ | xyz(10.7679, 7.0333, 42.3765) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.88
Blue Blue
#2242C7
ΔE00 3.40
Ocean Blue
#4F42B5
ΔE00 4.29
Blueberry
#464196
ΔE00 5.29
Blue With A Hint Of Purple
#533CC6
ΔE00 5.65
Cobalt
#0047AB
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303CB1 #B1A530
analogous
#307DB1 #303CB1 #6530B1
triadic
#303CB1 #B1303C #3CB130
tetradic
#303CB1 #B1307D #B1A530 #30B165
square
#303CB1 #B1307D #B1A530 #30B165
split-complementary
#303CB1 #B16530 #7DB130
monochromatic
#161B51 #232C81 #303CB1 #4F5BCF #7F88DC
Accessibility & contrast
On white
8.73
#303CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#303CB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303CB1
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303CB1 | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #303cb1; /* rgb */ color: rgb(48, 60, 177); /* oklch */ color: oklch(42.7% 0.184 271.4);
Tailwind
colors: {
custom: {
50: '#7b72c9',
500: '#303cb1',
950: '#000000',
},
}SCSS
$custom: #303cb1; $custom-light: #7b72c9; $custom-dark: #000000;
JSON
{
"hex": "#303cb1",
"rgb": {
"r": 48,
"g": 60,
"b": 177
},
"hsl": {
"h": 234.419,
"s": 57.333,
"l": 44.118
},
"oklch": {
"l": 0.42714,
"c": 0.18352,
"h": 271.4
},
"luminance": 0.07034
}Semantic roles & 50–950 ramp
primary
#303CB1
secondary
#C5BE78
accent
#D247E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82