#303CB2#303CB2
#303CB2 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.8% C 0.185 H 271.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #303CB2 |
|---|---|
| RGB | rgb(48, 60, 178) |
| HSL | hsl(234, 58%, 44%) |
| HSV | hsv(234, 73%, 70%) |
| CMYK | cmyk(73%, 66.3%, 0%, 30.2%) |
| CIE-LAB | lab(31.97, 35.90, -63.91) |
| CIE-LCH | lch(31.97, 73.31, 299.32°) |
| OKLab | oklab(42.81% 0.0046 -0.1848) |
| OKLCH | oklch(42.81% 0.185 271.4) |
| XYZ | xyz(10.8679, 7.0733, 42.9034) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.96
Blue Blue
#2242C7
ΔE00 3.29
Ocean Blue
#4F42B5
ΔE00 4.25
Blueberry
#464196
ΔE00 5.39
Blue With A Hint Of Purple
#533CC6
ΔE00 5.55
Blue (survey)
#0343DF
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303CB2 #B2A630
analogous
#307DB2 #303CB2 #6530B2
triadic
#303CB2 #B2303C #3CB230
tetradic
#303CB2 #B2307D #B2A630 #30B265
square
#303CB2 #B2307D #B2A630 #30B265
split-complementary
#303CB2 #B26530 #7DB230
monochromatic
#161C52 #232C82 #303CB2 #505BD0 #8088DD
Accessibility & contrast
On white
8.70
#303CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#303CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303CB2
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303CB2 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #303cb2; /* rgb */ color: rgb(48, 60, 178); /* oklch */ color: oklch(42.8% 0.185 271.4);
Tailwind
colors: {
custom: {
50: '#7b72ca',
500: '#303cb2',
950: '#000000',
},
}SCSS
$custom: #303cb2; $custom-light: #7b72ca; $custom-dark: #000000;
JSON
{
"hex": "#303cb2",
"rgb": {
"r": 48,
"g": 60,
"b": 178
},
"hsl": {
"h": 234.462,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.42808,
"c": 0.18483,
"h": 271.4
},
"luminance": 0.07074
}Semantic roles & 50–950 ramp
primary
#303CB2
secondary
#C6BE78
accent
#D347E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82