#303D89#303D89
#303D89 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.4% C 0.127 H 272.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #303D89 |
|---|---|
| RGB | rgb(48, 61, 137) |
| HSL | hsl(231, 48%, 36%) |
| HSV | hsv(231, 65%, 54%) |
| CMYK | cmyk(65%, 55.5%, 0%, 46.3%) |
| CIE-LAB | lab(28.83, 20.29, -44.17) |
| CIE-LCH | lch(28.83, 48.61, 294.67°) |
| OKLab | oklab(39.42% 0.0044 -0.1268) |
| OKLCH | oklch(39.42% 0.127 272) |
| XYZ | xyz(7.4015, 5.7714, 24.3860) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.24
Darkslateblue
#483D8B
ΔE00 4.77
Cobalt (survey)
#1E488F
ΔE00 5.53
Sapphire (survey)
#2138AB
ΔE00 5.64
Darkish Blue
#014182
ΔE00 6.44
Cobalt
#0047AB
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303D89 #897C30
analogous
#306A89 #303D89 #503089
triadic
#303D89 #89303D #3D8930
tetradic
#303D89 #89306A #897C30 #308950
square
#303D89 #89306A #897C30 #308950
split-complementary
#303D89 #895030 #6A8930
monochromatic
#10152E #20295C #303D89 #4051B6 #6977CA
Accessibility & contrast
On white
9.75
#303D89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#303D89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303D89
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303D89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303D89 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#08488C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #303d89; /* rgb */ color: rgb(48, 61, 137); /* oklch */ color: oklch(39.4% 0.127 272.0);
Tailwind
colors: {
custom: {
50: '#7272ac',
500: '#303d89',
950: '#000000',
},
}SCSS
$custom: #303d89; $custom-light: #7272ac; $custom-dark: #000000;
JSON
{
"hex": "#303d89",
"rgb": {
"r": 48,
"g": 61,
"b": 137
},
"hsl": {
"h": 231.236,
"s": 48.108,
"l": 36.275
},
"oklch": {
"l": 0.39422,
"c": 0.12687,
"h": 272
},
"luminance": 0.05772
}Semantic roles & 50–950 ramp
primary
#303D89
secondary
#B2A663
accent
#C450D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F