#303C85#303C85
#303C85 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.9% C 0.122 H 272.4°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #303C85 |
|---|---|
| RGB | rgb(48, 60, 133) |
| HSL | hsl(232, 47%, 35%) |
| HSV | hsv(232, 64%, 52%) |
| CMYK | cmyk(63.9%, 54.9%, 0%, 47.8%) |
| CIE-LAB | lab(28.26, 19.49, -42.61) |
| CIE-LCH | lch(28.26, 46.86, 294.58°) |
| OKLab | oklab(38.9% 0.0052 -0.1222) |
| OKLCH | oklch(38.9% 0.122 272.4) |
| XYZ | xyz(7.0670, 5.5530, 22.8852) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.56
Darkslateblue
#483D8B
ΔE00 4.76
Cobalt (survey)
#1E488F
ΔE00 5.87
Sapphire (survey)
#2138AB
ΔE00 6.18
Darkish Blue
#014182
ΔE00 6.55
Cobalt
#0047AB
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303C85 #857930
analogous
#306685 #303C85 #4E3085
triadic
#303C85 #85303C #3C8530
tetradic
#303C85 #853066 #857930 #30854E
square
#303C85 #853066 #857930 #30854E
split-complementary
#303C85 #854E30 #668530
monochromatic
#10132B #202858 #303C85 #4050B2 #6775C8
Accessibility & contrast
On white
9.95
#303C85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#303C85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303C85
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303C85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303C85 | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D4788
Deuteranopia (green-blind)
#003F83
Tritanopia (blue-blind)
#004D5A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #303c85; /* rgb */ color: rgb(48, 60, 133); /* oklch */ color: oklch(38.9% 0.122 272.4);
Tailwind
colors: {
custom: {
50: '#7271a9',
500: '#303c85',
950: '#000000',
},
}SCSS
$custom: #303c85; $custom-light: #7271a9; $custom-dark: #000000;
JSON
{
"hex": "#303c85",
"rgb": {
"r": 48,
"g": 60,
"b": 133
},
"hsl": {
"h": 231.529,
"s": 46.961,
"l": 35.49
},
"oklch": {
"l": 0.38898,
"c": 0.12234,
"h": 272.4
},
"luminance": 0.05554
}Semantic roles & 50–950 ramp
primary
#303C85
secondary
#AFA461
accent
#C451D7
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F