#303C8B#303C8B
#303C8B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.4% C 0.131 H 272.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #303C8B |
|---|---|
| RGB | rgb(48, 60, 139) |
| HSL | hsl(232, 49%, 37%) |
| HSV | hsv(232, 65%, 55%) |
| CMYK | cmyk(65.5%, 56.8%, 0%, 45.5%) |
| CIE-LAB | lab(28.70, 21.71, -45.61) |
| CIE-LCH | lch(28.70, 50.51, 295.45°) |
| OKLab | oklab(39.38% 0.0055 -0.131) |
| OKLCH | oklch(39.38% 0.131 272.4) |
| XYZ | xyz(7.4934, 5.7235, 25.1310) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.03
Darkslateblue
#483D8B
ΔE00 4.60
Sapphire (survey)
#2138AB
ΔE00 5.19
Cobalt (survey)
#1E488F
ΔE00 5.86
Cobalt
#0047AB
ΔE00 6.74
Darkish Blue
#014182
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303C8B #8B7F30
analogous
#306A8B #303C8B #52308B
triadic
#303C8B #8B303C #3C8B30
tetradic
#303C8B #8B306A #8B7F30 #308B52
square
#303C8B #8B306A #8B7F30 #308B52
split-complementary
#303C8B #8B5230 #6A8B30
monochromatic
#111530 #20285E #303C8B #4050B8 #6A77CC
Accessibility & contrast
On white
9.79
#303C8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#303C8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303C8B
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303C8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303C8B | 1.00 | 9.79 | 2.14 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#004089
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #303c8b; /* rgb */ color: rgb(48, 60, 139); /* oklch */ color: oklch(39.4% 0.131 272.4);
Tailwind
colors: {
custom: {
50: '#7371ad',
500: '#303c8b',
950: '#000000',
},
}SCSS
$custom: #303c8b; $custom-light: #7371ad; $custom-dark: #000000;
JSON
{
"hex": "#303c8b",
"rgb": {
"r": 48,
"g": 60,
"b": 139
},
"hsl": {
"h": 232.088,
"s": 48.663,
"l": 36.667
},
"oklch": {
"l": 0.39377,
"c": 0.13116,
"h": 272.4
},
"luminance": 0.05724
}Semantic roles & 50–950 ramp
primary
#303C8B
secondary
#B3A864
accent
#C650D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F