#303B96#303B96
#303B96 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.1% C 0.148 H 272.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #303B96 |
|---|---|
| RGB | rgb(48, 59, 150) |
| HSL | hsl(234, 52%, 39%) |
| HSV | hsv(234, 68%, 59%) |
| CMYK | cmyk(68%, 60.7%, 0%, 41.2%) |
| CIE-LAB | lab(29.31, 26.42, -51.39) |
| CIE-LCH | lch(29.31, 57.79, 297.21°) |
| OKLab | oklab(40.1% 0.0066 -0.1481) |
| OKLCH | oklch(40.1% 0.148 272.6) |
| XYZ | xyz(8.2861, 5.9576, 29.5615) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.39
Blueberry
#464196
ΔE00 3.66
Darkslateblue
#483D8B
ΔE00 4.80
Cobalt
#0047AB
ΔE00 6.26
Cobalt (survey)
#1E488F
ΔE00 6.52
Ocean Blue
#4F42B5
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303B96 #968B30
analogous
#306E96 #303B96 #583096
triadic
#303B96 #96303B #3B9630
tetradic
#303B96 #96306E #968B30 #309658
square
#303B96 #96306E #968B30 #309658
split-complementary
#303B96 #965830 #6E9630
monochromatic
#121739 #212968 #303B96 #414FC2 #6F7AD1
Accessibility & contrast
On white
9.58
#303B96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#303B96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303B96
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303B96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303B96 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#004194
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #303b96; /* rgb */ color: rgb(48, 59, 150); /* oklch */ color: oklch(40.1% 0.148 272.6);
Tailwind
colors: {
custom: {
50: '#7570b6',
500: '#303b96',
950: '#000000',
},
}SCSS
$custom: #303b96; $custom-light: #7570b6; $custom-dark: #000000;
JSON
{
"hex": "#303b96",
"rgb": {
"r": 48,
"g": 59,
"b": 150
},
"hsl": {
"h": 233.529,
"s": 51.515,
"l": 38.824
},
"oklch": {
"l": 0.40098,
"c": 0.14821,
"h": 272.6
},
"luminance": 0.05958
}Semantic roles & 50–950 ramp
primary
#303B96
secondary
#B9B069
accent
#CC4DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80