#303CB9#303CB9
#303CB9 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.194 H 271.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #303CB9 |
|---|---|
| RGB | rgb(48, 60, 185) |
| HSL | hsl(235, 59%, 46%) |
| HSV | hsv(235, 74%, 73%) |
| CMYK | cmyk(74.1%, 67.6%, 0%, 27.5%) |
| CIE-LAB | lab(32.62, 38.38, -67.01) |
| CIE-LCH | lch(32.62, 77.22, 299.80°) |
| OKLab | oklab(43.47% 0.0039 -0.1938) |
| OKLCH | oklch(43.47% 0.194 271.2) |
| XYZ | xyz(11.5888, 7.3617, 46.6997) |
| Luminance | 0.0736 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.66
Blue Blue
#2242C7
ΔE00 2.67
Ocean Blue
#4F42B5
ΔE00 4.07
Blue With A Hint Of Purple
#533CC6
ΔE00 4.92
Blue (survey)
#0343DF
ΔE00 5.16
Blurple
#5539CC
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303CB9 #B9AD30
analogous
#3080B9 #303CB9 #6930B9
triadic
#303CB9 #B9303C #3CB930
tetradic
#303CB9 #B93080 #B9AD30 #30B969
square
#303CB9 #B93080 #B9AD30 #30B969
split-complementary
#303CB9 #B96930 #80B930
monochromatic
#171C58 #232C88 #303CB9 #545FD3 #848CDF
Accessibility & contrast
On white
8.49
#303CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#303CB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303CB9
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303CB9 | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #303cb9; /* rgb */ color: rgb(48, 60, 185); /* oklch */ color: oklch(43.5% 0.194 271.2);
Tailwind
colors: {
custom: {
50: '#7d72cf',
500: '#303cb9',
950: '#000000',
},
}SCSS
$custom: #303cb9; $custom-light: #7d72cf; $custom-dark: #000000;
JSON
{
"hex": "#303cb9",
"rgb": {
"r": 48,
"g": 60,
"b": 185
},
"hsl": {
"h": 234.745,
"s": 58.798,
"l": 45.686
},
"oklch": {
"l": 0.43472,
"c": 0.19386,
"h": 271.2
},
"luminance": 0.07363
}Semantic roles & 50–950 ramp
primary
#303CB9
secondary
#C9C27C
accent
#D446E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82