#303B95#303B95
#303B95 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.0% C 0.147 H 272.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #303B95 |
|---|---|
| RGB | rgb(48, 59, 149) |
| HSL | hsl(233, 51%, 39%) |
| HSV | hsv(233, 68%, 58%) |
| CMYK | cmyk(67.8%, 60.4%, 0%, 41.6%) |
| CIE-LAB | lab(29.22, 26.06, -50.91) |
| CIE-LCH | lch(29.22, 57.19, 297.10°) |
| OKLab | oklab(40.01% 0.0066 -0.1467) |
| OKLCH | oklch(40.01% 0.147 272.6) |
| XYZ | xyz(8.2059, 5.9255, 29.1392) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.54
Blueberry
#464196
ΔE00 3.66
Darkslateblue
#483D8B
ΔE00 4.74
Cobalt
#0047AB
ΔE00 6.31
Cobalt (survey)
#1E488F
ΔE00 6.48
Ocean Blue
#4F42B5
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303B95 #958A30
analogous
#306D95 #303B95 #573095
triadic
#303B95 #95303B #3B9530
tetradic
#303B95 #95306D #958A30 #309557
square
#303B95 #95306D #958A30 #309557
split-complementary
#303B95 #955730 #6D9530
monochromatic
#121638 #212967 #303B95 #414FC2 #6F79D1
Accessibility & contrast
On white
9.61
#303B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#303B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303B95
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303B95 | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #303b95; /* rgb */ color: rgb(48, 59, 149); /* oklch */ color: oklch(40.0% 0.147 272.6);
Tailwind
colors: {
custom: {
50: '#7570b5',
500: '#303b95',
950: '#000000',
},
}SCSS
$custom: #303b95; $custom-light: #7570b5; $custom-dark: #000000;
JSON
{
"hex": "#303b95",
"rgb": {
"r": 48,
"g": 59,
"b": 149
},
"hsl": {
"h": 233.465,
"s": 51.269,
"l": 38.627
},
"oklch": {
"l": 0.40012,
"c": 0.14681,
"h": 272.6
},
"luminance": 0.05926
}Semantic roles & 50–950 ramp
primary
#303B95
secondary
#B8AF69
accent
#CB4DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80