#303C8F#303C8F
#303C8F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.137 H 272.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #303C8F |
|---|---|
| RGB | rgb(48, 60, 143) |
| HSL | hsl(232, 50%, 37%) |
| HSV | hsv(232, 66%, 56%) |
| CMYK | cmyk(66.4%, 58%, 0%, 43.9%) |
| CIE-LAB | lab(29.01, 23.18, -47.57) |
| CIE-LCH | lch(29.01, 52.92, 295.98°) |
| OKLab | oklab(39.7% 0.0056 -0.1368) |
| OKLCH | oklch(39.7% 0.137 272.4) |
| XYZ | xyz(7.7910, 5.8426, 26.6984) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.79
Sapphire (survey)
#2138AB
ΔE00 4.56
Darkslateblue
#483D8B
ΔE00 4.62
Cobalt (survey)
#1E488F
ΔE00 5.94
Cobalt
#0047AB
ΔE00 6.43
Darkish Blue
#014182
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303C8F #8F8330
analogous
#306C8F #303C8F #54308F
triadic
#303C8F #8F303C #3C8F30
tetradic
#303C8F #8F306C #8F8330 #308F54
square
#303C8F #8F306C #8F8330 #308F54
split-complementary
#303C8F #8F5430 #6C8F30
monochromatic
#111633 #212961 #303C8F #3F4FBD #6C78CE
Accessibility & contrast
On white
9.68
#303C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#303C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303C8F
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303C8F | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #303c8f; /* rgb */ color: rgb(48, 60, 143); /* oklch */ color: oklch(39.7% 0.137 272.4);
Tailwind
colors: {
custom: {
50: '#7471b0',
500: '#303c8f',
950: '#000000',
},
}SCSS
$custom: #303c8f; $custom-light: #7471b0; $custom-dark: #000000;
JSON
{
"hex": "#303c8f",
"rgb": {
"r": 48,
"g": 60,
"b": 143
},
"hsl": {
"h": 232.421,
"s": 49.738,
"l": 37.451
},
"oklch": {
"l": 0.39704,
"c": 0.13695,
"h": 272.4
},
"luminance": 0.05843
}Semantic roles & 50–950 ramp
primary
#303C8F
secondary
#B5AB66
accent
#C84FD9
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090711
muted
#7B7A80