#303AB2#303AB2
#303AB2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.187 H 271.8°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #303AB2 |
|---|---|
| RGB | rgb(48, 58, 178) |
| HSL | hsl(235, 58%, 44%) |
| HSV | hsv(235, 73%, 70%) |
| CMYK | cmyk(73%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(31.50, 37.16, -64.68) |
| CIE-LCH | lch(31.50, 74.60, 299.88°) |
| OKLab | oklab(42.47% 0.0058 -0.187) |
| OKLCH | oklch(42.47% 0.187 271.8) |
| XYZ | xyz(10.7651, 6.8677, 42.8691) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.85
Blue Blue
#2242C7
ΔE00 3.64
Ocean Blue
#4F42B5
ΔE00 4.36
Blue With A Hint Of Purple
#533CC6
ΔE00 5.46
Blueberry
#464196
ΔE00 5.54
Blurple
#5539CC
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303AB2 #B2A830
analogous
#307BB2 #303AB2 #6730B2
triadic
#303AB2 #B2303A #3AB230
tetradic
#303AB2 #B2307B #B2A830 #30B267
square
#303AB2 #B2307B #B2A830 #30B267
split-complementary
#303AB2 #B26730 #7BB230
monochromatic
#161B52 #232A82 #303AB2 #5059D0 #8087DD
Accessibility & contrast
On white
8.85
#303AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#303AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303AB2
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303AB2 | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #303ab2; /* rgb */ color: rgb(48, 58, 178); /* oklch */ color: oklch(42.5% 0.187 271.8);
Tailwind
colors: {
custom: {
50: '#7c70ca',
500: '#303ab2',
950: '#000000',
},
}SCSS
$custom: #303ab2; $custom-light: #7c70ca; $custom-dark: #000000;
JSON
{
"hex": "#303ab2",
"rgb": {
"r": 48,
"g": 58,
"b": 178
},
"hsl": {
"h": 235.385,
"s": 57.522,
"l": 44.314
},
"oklch": {
"l": 0.42466,
"c": 0.18712,
"h": 271.8
},
"luminance": 0.06869
}Semantic roles & 50–950 ramp
primary
#303AB2
secondary
#C6C078
accent
#D547E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82