#303AB6#303AB6
#303AB6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.192 H 271.6°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #303AB6 |
|---|---|
| RGB | rgb(48, 58, 182) |
| HSL | hsl(236, 58%, 45%) |
| HSV | hsv(236, 74%, 71%) |
| CMYK | cmyk(73.6%, 68.1%, 0%, 28.6%) |
| CIE-LAB | lab(31.88, 38.56, -66.45) |
| CIE-LCH | lch(31.88, 76.83, 300.13°) |
| OKLab | oklab(42.85% 0.0054 -0.1922) |
| OKLCH | oklch(42.85% 0.192 271.6) |
| XYZ | xyz(11.1726, 7.0307, 45.0151) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.26
Blue Blue
#2242C7
ΔE00 3.30
Ocean Blue
#4F42B5
ΔE00 4.25
Blue With A Hint Of Purple
#533CC6
ΔE00 5.10
Blue (survey)
#0343DF
ΔE00 5.75
Blurple
#5539CC
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303AB6 #B6AC30
analogous
#307DB6 #303AB6 #6930B6
triadic
#303AB6 #B6303A #3AB630
tetradic
#303AB6 #B6307D #B6AC30 #30B669
square
#303AB6 #B6307D #B6AC30 #30B669
split-complementary
#303AB6 #B66930 #7DB630
monochromatic
#161B55 #232B86 #303AB6 #525BD1 #8289DE
Accessibility & contrast
On white
8.73
#303AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#303AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303AB6
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303AB6 | 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)
#0051BA
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #303ab6; /* rgb */ color: rgb(48, 58, 182); /* oklch */ color: oklch(42.9% 0.192 271.6);
Tailwind
colors: {
custom: {
50: '#7d70cd',
500: '#303ab6',
950: '#000000',
},
}SCSS
$custom: #303ab6; $custom-light: #7d70cd; $custom-dark: #000000;
JSON
{
"hex": "#303ab6",
"rgb": {
"r": 48,
"g": 58,
"b": 182
},
"hsl": {
"h": 235.522,
"s": 58.261,
"l": 45.098
},
"oklch": {
"l": 0.4285,
"c": 0.19227,
"h": 271.6
},
"luminance": 0.07032
}Semantic roles & 50–950 ramp
primary
#303AB6
secondary
#C7C27B
accent
#D646E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82