#303D8D#303D8D
#303D8D is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.133 H 272.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #303D8D |
|---|---|
| RGB | rgb(48, 61, 141) |
| HSL | hsl(232, 49%, 37%) |
| HSV | hsv(232, 66%, 55%) |
| CMYK | cmyk(66%, 56.7%, 0%, 44.7%) |
| CIE-LAB | lab(29.13, 21.77, -46.15) |
| CIE-LCH | lch(29.13, 51.03, 295.25°) |
| OKLab | oklab(39.74% 0.0046 -0.1326) |
| OKLCH | oklch(39.74% 0.133 272) |
| XYZ | xyz(7.6938, 5.8883, 25.9252) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.93
Darkslateblue
#483D8B
ΔE00 4.72
Sapphire (survey)
#2138AB
ΔE00 5.00
Cobalt (survey)
#1E488F
ΔE00 5.58
Cobalt
#0047AB
ΔE00 6.37
Darkish Blue
#014182
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303D8D #8D8030
analogous
#306C8D #303D8D #52308D
triadic
#303D8D #8D303D #3D8D30
tetradic
#303D8D #8D306C #8D8030 #308D52
square
#303D8D #8D306C #8D8030 #308D52
split-complementary
#303D8D #8D5230 #6C8D30
monochromatic
#111532 #20295F #303D8D #4051BB #6B78CD
Accessibility & contrast
On white
9.64
#303D8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#303D8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303D8D
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303D8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303D8D | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#00418B
Tritanopia (blue-blind)
#00505F
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #303d8d; /* rgb */ color: rgb(48, 61, 141); /* oklch */ color: oklch(39.7% 0.133 272.0);
Tailwind
colors: {
custom: {
50: '#7372af',
500: '#303d8d',
950: '#000000',
},
}SCSS
$custom: #303d8d; $custom-light: #7372af; $custom-dark: #000000;
JSON
{
"hex": "#303d8d",
"rgb": {
"r": 48,
"g": 61,
"b": 141
},
"hsl": {
"h": 231.613,
"s": 49.206,
"l": 37.059
},
"oklch": {
"l": 0.39743,
"c": 0.13271,
"h": 272
},
"luminance": 0.05889
}Semantic roles & 50–950 ramp
primary
#303D8D
secondary
#B4A965
accent
#C64FD9
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F