#303C8D#303C8D
#303C8D is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.134 H 272.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #303C8D |
|---|---|
| RGB | rgb(48, 60, 141) |
| HSL | hsl(232, 49%, 37%) |
| HSV | hsv(232, 66%, 55%) |
| CMYK | cmyk(66%, 57.4%, 0%, 44.7%) |
| CIE-LAB | lab(28.86, 22.44, -46.59) |
| CIE-LCH | lch(28.86, 51.72, 295.72°) |
| OKLab | oklab(39.54% 0.0056 -0.1339) |
| OKLCH | oklch(39.54% 0.134 272.4) |
| XYZ | xyz(7.6409, 5.7825, 25.9076) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.90
Darkslateblue
#483D8B
ΔE00 4.60
Sapphire (survey)
#2138AB
ΔE00 4.87
Cobalt (survey)
#1E488F
ΔE00 5.89
Cobalt
#0047AB
ΔE00 6.58
Darkish Blue
#014182
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303C8D #8D8130
analogous
#306B8D #303C8D #53308D
triadic
#303C8D #8D303C #3C8D30
tetradic
#303C8D #8D306B #8D8130 #308D53
square
#303C8D #8D306B #8D8130 #308D53
split-complementary
#303C8D #8D5330 #6B8D30
monochromatic
#111532 #20295F #303C8D #404FBB #6B77CD
Accessibility & contrast
On white
9.74
#303C8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#303C8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303C8D
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303C8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303C8D | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#00408B
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #303c8d; /* rgb */ color: rgb(48, 60, 141); /* oklch */ color: oklch(39.5% 0.134 272.4);
Tailwind
colors: {
custom: {
50: '#7371af',
500: '#303c8d',
950: '#000000',
},
}SCSS
$custom: #303c8d; $custom-light: #7371af; $custom-dark: #000000;
JSON
{
"hex": "#303c8d",
"rgb": {
"r": 48,
"g": 60,
"b": 141
},
"hsl": {
"h": 232.258,
"s": 49.206,
"l": 37.059
},
"oklch": {
"l": 0.3954,
"c": 0.13406,
"h": 272.4
},
"luminance": 0.05783
}Semantic roles & 50–950 ramp
primary
#303C8D
secondary
#B4AA65
accent
#C74FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F