#303C8A#303C8A
#303C8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.130 H 272.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #303C8A |
|---|---|
| RGB | rgb(48, 60, 138) |
| HSL | hsl(232, 48%, 36%) |
| HSV | hsv(232, 65%, 54%) |
| CMYK | cmyk(65.2%, 56.5%, 0%, 45.9%) |
| CIE-LAB | lab(28.63, 21.34, -45.11) |
| CIE-LCH | lch(28.63, 49.90, 295.32°) |
| OKLab | oklab(39.3% 0.0055 -0.1296) |
| OKLCH | oklch(39.3% 0.13 272.4) |
| XYZ | xyz(7.4207, 5.6944, 24.7479) |
| Luminance | 0.0570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.10
Darkslateblue
#483D8B
ΔE00 4.61
Sapphire (survey)
#2138AB
ΔE00 5.35
Cobalt (survey)
#1E488F
ΔE00 5.85
Darkish Blue
#014182
ΔE00 6.72
Cobalt
#0047AB
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303C8A #8A7E30
analogous
#30698A #303C8A #51308A
triadic
#303C8A #8A303C #3C8A30
tetradic
#303C8A #8A3069 #8A7E30 #308A51
square
#303C8A #8A3069 #8A7E30 #308A51
split-complementary
#303C8A #8A5130 #698A30
monochromatic
#10152F #20285D #303C8A #4050B7 #6976CB
Accessibility & contrast
On white
9.82
#303C8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#303C8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303C8A
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303C8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303C8A | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00488D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #303c8a; /* rgb */ color: rgb(48, 60, 138); /* oklch */ color: oklch(39.3% 0.130 272.4);
Tailwind
colors: {
custom: {
50: '#7371ad',
500: '#303c8a',
950: '#000000',
},
}SCSS
$custom: #303c8a; $custom-light: #7371ad; $custom-dark: #000000;
JSON
{
"hex": "#303c8a",
"rgb": {
"r": 48,
"g": 60,
"b": 138
},
"hsl": {
"h": 232,
"s": 48.387,
"l": 36.471
},
"oklch": {
"l": 0.39296,
"c": 0.12969,
"h": 272.4
},
"luminance": 0.05695
}Semantic roles & 50–950 ramp
primary
#303C8A
secondary
#B2A864
accent
#C650D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F