#303EB0#303EB0
#303EB0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.180 H 271.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #303EB0 |
|---|---|
| RGB | rgb(48, 62, 176) |
| HSL | hsl(233, 57%, 44%) |
| HSV | hsv(233, 73%, 69%) |
| CMYK | cmyk(72.7%, 64.8%, 0%, 31%) |
| CIE-LAB | lab(32.27, 33.92, -62.23) |
| CIE-LCH | lch(32.27, 70.87, 298.59°) |
| OKLab | oklab(42.97% 0.0034 -0.1798) |
| OKLCH | oklch(42.97% 0.18 271.1) |
| XYZ | xyz(10.7754, 7.2071, 41.8891) |
| Luminance | 0.0721 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.10
Blue Blue
#2242C7
ΔE00 3.24
Ocean Blue
#4F42B5
ΔE00 4.31
Blueberry
#464196
ΔE00 5.11
Cobalt
#0047AB
ΔE00 5.53
Blue With A Hint Of Purple
#533CC6
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303EB0 #B0A230
analogous
#307EB0 #303EB0 #6230B0
triadic
#303EB0 #B0303E #3EB030
tetradic
#303EB0 #B0307E #B0A230 #30B062
square
#303EB0 #B0307E #B0A230 #30B062
split-complementary
#303EB0 #B06230 #7EB030
monochromatic
#161C50 #232D80 #303EB0 #4E5CCF #7E89DC
Accessibility & contrast
On white
8.60
#303EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#303EB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303EB0
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303EB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303EB0 | 1.00 | 8.60 | 2.44 | 8.60 |
| #FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #303eb0; /* rgb */ color: rgb(48, 62, 176); /* oklch */ color: oklch(43.0% 0.180 271.1);
Tailwind
colors: {
custom: {
50: '#7b73c9',
500: '#303eb0',
950: '#000000',
},
}SCSS
$custom: #303eb0; $custom-light: #7b73c9; $custom-dark: #000000;
JSON
{
"hex": "#303eb0",
"rgb": {
"r": 48,
"g": 62,
"b": 176
},
"hsl": {
"h": 233.438,
"s": 57.143,
"l": 43.922
},
"oklch": {
"l": 0.42973,
"c": 0.17986,
"h": 271.1
},
"luminance": 0.07208
}Semantic roles & 50–950 ramp
primary
#303EB0
secondary
#C5BC77
accent
#D047E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82