#303B91#303B91
#303B91 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.141 H 272.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).
Color values
| HEX | #303B91 |
|---|---|
| RGB | rgb(48, 59, 145) |
| HSL | hsl(233, 50%, 38%) |
| HSV | hsv(233, 67%, 57%) |
| CMYK | cmyk(66.9%, 59.3%, 0%, 43.1%) |
| CIE-LAB | lab(28.90, 24.59, -48.98) |
| CIE-LCH | lch(28.90, 54.81, 296.66°) |
| OKLab | oklab(39.67% 0.0066 -0.141) |
| OKLCH | oklch(39.67% 0.141 272.7) |
| XYZ | xyz(7.8920, 5.7999, 27.4862) |
| Luminance | 0.0580 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.72
Sapphire (survey)
#2138AB
ΔE00 4.14
Darkslateblue
#483D8B
ΔE00 4.58
Cobalt (survey)
#1E488F
ΔE00 6.32
Cobalt
#0047AB
ΔE00 6.53
Ocean Blue
#4F42B5
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303B91 #918630
analogous
#306B91 #303B91 #553091
triadic
#303B91 #91303B #3B9130
tetradic
#303B91 #91306B #918630 #309155
square
#303B91 #91306B #918630 #309155
split-complementary
#303B91 #915530 #6B9130
monochromatic
#121635 #212863 #303B91 #3F4EBF #6D78CF
Accessibility & contrast
On white
9.72
#303B91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#303B91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303B91
9.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303B91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303B91 | 1.00 | 9.72 | 2.16 | 9.72 |
| #FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#00408F
Tritanopia (blue-blind)
#005060
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #303b91; /* rgb */ color: rgb(48, 59, 145); /* oklch */ color: oklch(39.7% 0.141 272.7);
Tailwind
colors: {
custom: {
50: '#7470b2',
500: '#303b91',
950: '#000000',
},
}SCSS
$custom: #303b91; $custom-light: #7470b2; $custom-dark: #000000;
JSON
{
"hex": "#303b91",
"rgb": {
"r": 48,
"g": 59,
"b": 145
},
"hsl": {
"h": 233.196,
"s": 50.259,
"l": 37.843
},
"oklch": {
"l": 0.39672,
"c": 0.14113,
"h": 272.7
},
"luminance": 0.05801
}Semantic roles & 50–950 ramp
primary
#303B91
secondary
#B6AD67
accent
#CA4EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80