#303CB3#303CB3
#303CB3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.186 H 271.4°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).
Color values
| HEX | #303CB3 |
|---|---|
| RGB | rgb(48, 60, 179) |
| HSL | hsl(235, 58%, 45%) |
| HSV | hsv(235, 73%, 70%) |
| CMYK | cmyk(73.2%, 66.5%, 0%, 29.8%) |
| CIE-LAB | lab(32.06, 36.26, -64.36) |
| CIE-LCH | lch(32.06, 73.87, 299.40°) |
| OKLab | oklab(42.9% 0.0045 -0.1861) |
| OKLCH | oklch(42.9% 0.186 271.4) |
| XYZ | xyz(10.9687, 7.1136, 43.4341) |
| Luminance | 0.0712 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.04
Blue Blue
#2242C7
ΔE00 3.19
Ocean Blue
#4F42B5
ΔE00 4.21
Blue With A Hint Of Purple
#533CC6
ΔE00 5.45
Blueberry
#464196
ΔE00 5.49
Blue (survey)
#0343DF
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303CB3 #B3A730
analogous
#307EB3 #303CB3 #6630B3
triadic
#303CB3 #B3303C #3CB330
tetradic
#303CB3 #B3307E #B3A730 #30B366
square
#303CB3 #B3307E #B3A730 #30B366
split-complementary
#303CB3 #B36630 #7EB330
monochromatic
#161C52 #232C83 #303CB3 #505CD0 #8089DD
Accessibility & contrast
On white
8.67
#303CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#303CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303CB3
8.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303CB3 | 1.00 | 8.67 | 2.42 | 8.67 |
| #FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #303cb3; /* rgb */ color: rgb(48, 60, 179); /* oklch */ color: oklch(42.9% 0.186 271.4);
Tailwind
colors: {
custom: {
50: '#7c72cb',
500: '#303cb3',
950: '#000000',
},
}SCSS
$custom: #303cb3; $custom-light: #7c72cb; $custom-dark: #000000;
JSON
{
"hex": "#303cb3",
"rgb": {
"r": 48,
"g": 60,
"b": 179
},
"hsl": {
"h": 234.504,
"s": 57.709,
"l": 44.51
},
"oklch": {
"l": 0.42902,
"c": 0.18612,
"h": 271.4
},
"luminance": 0.07115
}Semantic roles & 50–950 ramp
primary
#303CB3
secondary
#C6BF79
accent
#D347E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82