#303B89#303B89
#303B89 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.130 H 272.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #303B89 |
|---|---|
| RGB | rgb(48, 59, 137) |
| HSL | hsl(233, 48%, 36%) |
| HSV | hsv(233, 65%, 54%) |
| CMYK | cmyk(65%, 56.9%, 0%, 46.3%) |
| CIE-LAB | lab(28.28, 21.65, -45.06) |
| CIE-LCH | lch(28.28, 49.99, 295.66°) |
| OKLab | oklab(39.01% 0.0064 -0.1294) |
| OKLCH | oklch(39.01% 0.13 272.8) |
| XYZ | xyz(7.2967, 5.5618, 24.3511) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.16
Darkslateblue
#483D8B
ΔE00 4.52
Sapphire (survey)
#2138AB
ΔE00 5.42
Cobalt (survey)
#1E488F
ΔE00 6.16
Darkish Blue
#014182
ΔE00 6.92
Cobalt
#0047AB
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303B89 #897E30
analogous
#306889 #303B89 #523089
triadic
#303B89 #89303B #3B8930
tetradic
#303B89 #893068 #897E30 #308952
square
#303B89 #893068 #897E30 #308952
split-complementary
#303B89 #895230 #688930
monochromatic
#10142E #20275C #303B89 #404FB6 #6975CA
Accessibility & contrast
On white
9.94
#303B89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#303B89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303B89
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303B89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303B89 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #303b89; /* rgb */ color: rgb(48, 59, 137); /* oklch */ color: oklch(39.0% 0.130 272.8);
Tailwind
colors: {
custom: {
50: '#7270ac',
500: '#303b89',
950: '#000000',
},
}SCSS
$custom: #303b89; $custom-light: #7270ac; $custom-dark: #000000;
JSON
{
"hex": "#303b89",
"rgb": {
"r": 48,
"g": 59,
"b": 137
},
"hsl": {
"h": 232.584,
"s": 48.108,
"l": 36.275
},
"oklch": {
"l": 0.3901,
"c": 0.12959,
"h": 272.8
},
"luminance": 0.05562
}Semantic roles & 50–950 ramp
primary
#303B89
secondary
#B2A863
accent
#C750D8
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#090710
muted
#7B7A7F