#303E8D#303E8D
#303E8D is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.131 H 271.6°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #303E8D |
|---|---|
| RGB | rgb(48, 62, 141) |
| HSL | hsl(231, 49%, 37%) |
| HSV | hsv(231, 66%, 55%) |
| CMYK | cmyk(66%, 56%, 0%, 44.7%) |
| CIE-LAB | lab(29.40, 21.09, -45.71) |
| CIE-LCH | lch(29.40, 50.34, 294.77°) |
| OKLab | oklab(39.95% 0.0036 -0.1313) |
| OKLCH | oklch(39.95% 0.131 271.6) |
| XYZ | xyz(7.7477, 5.9960, 25.9432) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.00
Darkslateblue
#483D8B
ΔE00 4.86
Sapphire (survey)
#2138AB
ΔE00 5.14
Cobalt (survey)
#1E488F
ΔE00 5.26
Cobalt
#0047AB
ΔE00 6.16
Darkish Blue
#014182
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303E8D #8D7F30
analogous
#306D8D #303E8D #51308D
triadic
#303E8D #8D303E #3E8D30
tetradic
#303E8D #8D306D #8D7F30 #308D51
square
#303E8D #8D306D #8D7F30 #308D51
split-complementary
#303E8D #8D5130 #6D8D30
monochromatic
#111632 #202A5F #303E8D #4052BB #6B7ACD
Accessibility & contrast
On white
9.55
#303E8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#303E8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303E8D
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303E8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303E8D | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#024A90
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#00515F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #303e8d; /* rgb */ color: rgb(48, 62, 141); /* oklch */ color: oklch(39.9% 0.131 271.6);
Tailwind
colors: {
custom: {
50: '#7373af',
500: '#303e8d',
950: '#000000',
},
}SCSS
$custom: #303e8d; $custom-light: #7373af; $custom-dark: #000000;
JSON
{
"hex": "#303e8d",
"rgb": {
"r": 48,
"g": 62,
"b": 141
},
"hsl": {
"h": 230.968,
"s": 49.206,
"l": 37.059
},
"oklch": {
"l": 0.39948,
"c": 0.13137,
"h": 271.6
},
"luminance": 0.05997
}Semantic roles & 50–950 ramp
primary
#303E8D
secondary
#B4A865
accent
#C44FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090810
muted
#7B7B7F