#303F97#303F97
#303F97 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.144 H 271.2°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #303F97 |
|---|---|
| RGB | rgb(48, 63, 151) |
| HSL | hsl(231, 52%, 39%) |
| HSV | hsv(231, 68%, 59%) |
| CMYK | cmyk(68.2%, 58.3%, 0%, 40.8%) |
| CIE-LAB | lab(30.44, 24.12, -50.16) |
| CIE-LCH | lch(30.44, 55.66, 295.69°) |
| OKLab | oklab(40.97% 0.0031 -0.1444) |
| OKLCH | oklch(40.97% 0.144 271.2) |
| XYZ | xyz(8.5805, 6.4170, 30.0586) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.70
Sapphire (survey)
#2138AB
ΔE00 3.86
Darkslateblue
#483D8B
ΔE00 5.19
Cobalt
#0047AB
ΔE00 5.26
Cobalt (survey)
#1E488F
ΔE00 5.37
Blue Blue
#2242C7
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303F97 #978830
analogous
#307397 #303F97 #553097
triadic
#303F97 #97303F #3F9730
tetradic
#303F97 #973073 #978830 #309755
square
#303F97 #973073 #978830 #309755
split-complementary
#303F97 #975530 #739730
monochromatic
#12183A #212C69 #303F97 #4154C3 #707ED2
Accessibility & contrast
On white
9.20
#303F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#303F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303F97
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303F97 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004395
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #303f97; /* rgb */ color: rgb(48, 63, 151); /* oklch */ color: oklch(41.0% 0.144 271.2);
Tailwind
colors: {
custom: {
50: '#7573b6',
500: '#303f97',
950: '#000000',
},
}SCSS
$custom: #303f97; $custom-light: #7573b6; $custom-dark: #000000;
JSON
{
"hex": "#303f97",
"rgb": {
"r": 48,
"g": 63,
"b": 151
},
"hsl": {
"h": 231.262,
"s": 51.759,
"l": 39.02
},
"oklch": {
"l": 0.40968,
"c": 0.14441,
"h": 271.2
},
"luminance": 0.06418
}Semantic roles & 50–950 ramp
primary
#303F97
secondary
#B9AE6A
accent
#C64DDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80