#303CB4#303CB4
#303CB4 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.187 H 271.3°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #303CB4 |
|---|---|
| RGB | rgb(48, 60, 180) |
| HSL | hsl(235, 58%, 45%) |
| HSV | hsv(235, 73%, 71%) |
| CMYK | cmyk(73.3%, 66.7%, 0%, 29.4%) |
| CIE-LAB | lab(32.16, 36.61, -64.80) |
| CIE-LCH | lch(32.16, 74.43, 299.47°) |
| OKLab | oklab(43% 0.0044 -0.1874) |
| OKLCH | oklch(43% 0.187 271.3) |
| XYZ | xyz(11.0702, 7.1542, 43.9687) |
| Luminance | 0.0716 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.14
Blue Blue
#2242C7
ΔE00 3.10
Ocean Blue
#4F42B5
ΔE00 4.18
Blue With A Hint Of Purple
#533CC6
ΔE00 5.36
Blueberry
#464196
ΔE00 5.59
Blue (survey)
#0343DF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303CB4 #B4A830
analogous
#307EB4 #303CB4 #6630B4
triadic
#303CB4 #B4303C #3CB430
tetradic
#303CB4 #B4307E #B4A830 #30B466
square
#303CB4 #B4307E #B4A830 #30B466
split-complementary
#303CB4 #B46630 #7EB430
monochromatic
#161C53 #232C84 #303CB4 #515CD1 #8189DD
Accessibility & contrast
On white
8.64
#303CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#303CB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303CB4
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303CB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303CB4 | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #303cb4; /* rgb */ color: rgb(48, 60, 180); /* oklch */ color: oklch(43.0% 0.187 271.3);
Tailwind
colors: {
custom: {
50: '#7c72cc',
500: '#303cb4',
950: '#000000',
},
}SCSS
$custom: #303cb4; $custom-light: #7c72cc; $custom-dark: #000000;
JSON
{
"hex": "#303cb4",
"rgb": {
"r": 48,
"g": 60,
"b": 180
},
"hsl": {
"h": 234.545,
"s": 57.895,
"l": 44.706
},
"oklch": {
"l": 0.42996,
"c": 0.18742,
"h": 271.3
},
"luminance": 0.07155
}Semantic roles & 50–950 ramp
primary
#303CB4
secondary
#C6BF79
accent
#D347E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82