#303C8E#303C8E
#303C8E is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.136 H 272.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #303C8E |
|---|---|
| RGB | rgb(48, 60, 142) |
| HSL | hsl(232, 49%, 37%) |
| HSV | hsv(232, 66%, 56%) |
| CMYK | cmyk(66.2%, 57.7%, 0%, 44.3%) |
| CIE-LAB | lab(28.93, 22.81, -47.08) |
| CIE-LCH | lch(28.93, 52.32, 295.85°) |
| OKLab | oklab(39.62% 0.0056 -0.1354) |
| OKLCH | oklch(39.62% 0.136 272.4) |
| XYZ | xyz(7.7156, 5.8124, 26.3012) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.84
Darkslateblue
#483D8B
ΔE00 4.60
Sapphire (survey)
#2138AB
ΔE00 4.72
Cobalt (survey)
#1E488F
ΔE00 5.91
Cobalt
#0047AB
ΔE00 6.50
Darkish Blue
#014182
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303C8E #8E8230
analogous
#306B8E #303C8E #53308E
triadic
#303C8E #8E303C #3C8E30
tetradic
#303C8E #8E306B #8E8230 #308E53
square
#303C8E #8E306B #8E8230 #308E53
split-complementary
#303C8E #8E5330 #6B8E30
monochromatic
#111533 #212960 #303C8E #3F4FBC #6B78CD
Accessibility & contrast
On white
9.71
#303C8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#303C8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303C8E
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303C8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303C8E | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#00408C
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #303c8e; /* rgb */ color: rgb(48, 60, 142); /* oklch */ color: oklch(39.6% 0.136 272.4);
Tailwind
colors: {
custom: {
50: '#7371b0',
500: '#303c8e',
950: '#000000',
},
}SCSS
$custom: #303c8e; $custom-light: #7371b0; $custom-dark: #000000;
JSON
{
"hex": "#303c8e",
"rgb": {
"r": 48,
"g": 60,
"b": 142
},
"hsl": {
"h": 232.34,
"s": 49.474,
"l": 37.255
},
"oklch": {
"l": 0.39622,
"c": 0.13551,
"h": 272.4
},
"luminance": 0.05813
}Semantic roles & 50–950 ramp
primary
#303C8E
secondary
#B4AA65
accent
#C74FD9
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090710
muted
#7B7A7F