#303B97#303B97
#303B97 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.2% C 0.150 H 272.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #303B97 |
|---|---|
| RGB | rgb(48, 59, 151) |
| HSL | hsl(234, 52%, 39%) |
| HSV | hsv(234, 68%, 59%) |
| CMYK | cmyk(68.2%, 60.9%, 0%, 40.8%) |
| CIE-LAB | lab(29.39, 26.79, -51.87) |
| CIE-LCH | lch(29.39, 58.38, 297.31°) |
| OKLab | oklab(40.18% 0.0066 -0.1495) |
| OKLCH | oklch(40.18% 0.15 272.5) |
| XYZ | xyz(8.3669, 5.9899, 29.9874) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.25
Blueberry
#464196
ΔE00 3.67
Darkslateblue
#483D8B
ΔE00 4.85
Cobalt
#0047AB
ΔE00 6.22
Ocean Blue
#4F42B5
ΔE00 6.49
Cobalt (survey)
#1E488F
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303B97 #978C30
analogous
#306F97 #303B97 #593097
triadic
#303B97 #97303B #3B9730
tetradic
#303B97 #97306F #978C30 #309759
square
#303B97 #97306F #978C30 #309759
split-complementary
#303B97 #975930 #6F9730
monochromatic
#12173A #212969 #303B97 #414FC3 #707AD2
Accessibility & contrast
On white
9.55
#303B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#303B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303B97
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303B97 | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #303b97; /* rgb */ color: rgb(48, 59, 151); /* oklch */ color: oklch(40.2% 0.150 272.5);
Tailwind
colors: {
custom: {
50: '#7570b6',
500: '#303b97',
950: '#000000',
},
}SCSS
$custom: #303b97; $custom-light: #7570b6; $custom-dark: #000000;
JSON
{
"hex": "#303b97",
"rgb": {
"r": 48,
"g": 59,
"b": 151
},
"hsl": {
"h": 233.592,
"s": 51.759,
"l": 39.02
},
"oklch": {
"l": 0.40184,
"c": 0.14962,
"h": 272.5
},
"luminance": 0.05991
}Semantic roles & 50–950 ramp
primary
#303B97
secondary
#B9B16A
accent
#CC4DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80