#303AB0#303AB0
#303AB0 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.185 H 271.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #303AB0 |
|---|---|
| RGB | rgb(48, 58, 176) |
| HSL | hsl(235, 57%, 44%) |
| HSV | hsv(235, 73%, 69%) |
| CMYK | cmyk(72.7%, 67%, 0%, 31%) |
| CIE-LAB | lab(31.32, 36.45, -63.79) |
| CIE-LCH | lch(31.32, 73.47, 299.74°) |
| OKLab | oklab(42.28% 0.006 -0.1844) |
| OKLCH | oklch(42.28% 0.185 271.9) |
| XYZ | xyz(10.5658, 6.7880, 41.8193) |
| Luminance | 0.0679 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.68
Blue Blue
#2242C7
ΔE00 3.83
Ocean Blue
#4F42B5
ΔE00 4.44
Blueberry
#464196
ΔE00 5.35
Blue With A Hint Of Purple
#533CC6
ΔE00 5.66
Blurple
#5539CC
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303AB0 #B0A630
analogous
#307AB0 #303AB0 #6630B0
triadic
#303AB0 #B0303A #3AB030
tetradic
#303AB0 #B0307A #B0A630 #30B066
square
#303AB0 #B0307A #B0A630 #30B066
split-complementary
#303AB0 #B06630 #7AB030
monochromatic
#161A50 #232A80 #303AB0 #4E58CF #7E86DC
Accessibility & contrast
On white
8.91
#303AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#303AB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303AB0
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303AB0 | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #303ab0; /* rgb */ color: rgb(48, 58, 176); /* oklch */ color: oklch(42.3% 0.185 271.9);
Tailwind
colors: {
custom: {
50: '#7b70c9',
500: '#303ab0',
950: '#000000',
},
}SCSS
$custom: #303ab0; $custom-light: #7b70c9; $custom-dark: #000000;
JSON
{
"hex": "#303ab0",
"rgb": {
"r": 48,
"g": 58,
"b": 176
},
"hsl": {
"h": 235.313,
"s": 57.143,
"l": 43.922
},
"oklch": {
"l": 0.42276,
"c": 0.18453,
"h": 271.9
},
"luminance": 0.06789
}Semantic roles & 50–950 ramp
primary
#303AB0
secondary
#C5BF77
accent
#D447E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82