#303CB0#303CB0
#303CB0 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.182 H 271.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #303CB0 |
|---|---|
| RGB | rgb(48, 60, 176) |
| HSL | hsl(234, 57%, 44%) |
| HSV | hsv(234, 73%, 69%) |
| CMYK | cmyk(72.7%, 65.9%, 0%, 31%) |
| CIE-LAB | lab(31.79, 35.19, -63.02) |
| CIE-LCH | lch(31.79, 72.18, 299.18°) |
| OKLab | oklab(42.62% 0.0047 -0.1821) |
| OKLCH | oklch(42.62% 0.182 271.5) |
| XYZ | xyz(10.6686, 6.9936, 41.8535) |
| Luminance | 0.0699 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.81
Blue Blue
#2242C7
ΔE00 3.50
Ocean Blue
#4F42B5
ΔE00 4.34
Blueberry
#464196
ΔE00 5.20
Blue With A Hint Of Purple
#533CC6
ΔE00 5.75
Cobalt
#0047AB
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303CB0 #B0A430
analogous
#307CB0 #303CB0 #6430B0
triadic
#303CB0 #B0303C #3CB030
tetradic
#303CB0 #B0307C #B0A430 #30B064
square
#303CB0 #B0307C #B0A430 #30B064
split-complementary
#303CB0 #B06430 #7CB030
monochromatic
#161B50 #232C80 #303CB0 #4E5ACF #7E87DC
Accessibility & contrast
On white
8.75
#303CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#303CB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303CB0
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303CB0 | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0045AE
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #303cb0; /* rgb */ color: rgb(48, 60, 176); /* oklch */ color: oklch(42.6% 0.182 271.5);
Tailwind
colors: {
custom: {
50: '#7b72c9',
500: '#303cb0',
950: '#000000',
},
}SCSS
$custom: #303cb0; $custom-light: #7b72c9; $custom-dark: #000000;
JSON
{
"hex": "#303cb0",
"rgb": {
"r": 48,
"g": 60,
"b": 176
},
"hsl": {
"h": 234.375,
"s": 57.143,
"l": 43.922
},
"oklch": {
"l": 0.4262,
"c": 0.18221,
"h": 271.5
},
"luminance": 0.06995
}Semantic roles & 50–950 ramp
primary
#303CB0
secondary
#C5BD77
accent
#D247E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82