#303F99#303F99
#303F99 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.147 H 271.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #303F99 |
|---|---|
| RGB | rgb(48, 63, 153) |
| HSL | hsl(231, 52%, 39%) |
| HSV | hsv(231, 69%, 60%) |
| CMYK | cmyk(68.6%, 58.8%, 0%, 40%) |
| CIE-LAB | lab(30.60, 24.86, -51.12) |
| CIE-LCH | lch(30.60, 56.84, 295.94°) |
| OKLab | oklab(41.14% 0.0032 -0.1472) |
| OKLCH | oklch(41.14% 0.147 271.2) |
| XYZ | xyz(8.7443, 6.4825, 30.9212) |
| Luminance | 0.0648 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.60
Blueberry
#464196
ΔE00 3.70
Cobalt
#0047AB
ΔE00 5.17
Darkslateblue
#483D8B
ΔE00 5.28
Cobalt (survey)
#1E488F
ΔE00 5.50
Blue Blue
#2242C7
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303F99 #998A30
analogous
#307399 #303F99 #563099
triadic
#303F99 #99303F #3F9930
tetradic
#303F99 #993073 #998A30 #309956
square
#303F99 #993073 #998A30 #309956
split-complementary
#303F99 #995630 #739930
monochromatic
#13193C #212C6A #303F99 #4255C4 #717FD2
Accessibility & contrast
On white
9.14
#303F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#303F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303F99
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303F99 | 1.00 | 9.14 | 2.30 | 9.14 |
| #FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #303f99; /* rgb */ color: rgb(48, 63, 153); /* oklch */ color: oklch(41.1% 0.147 271.2);
Tailwind
colors: {
custom: {
50: '#7673b8',
500: '#303f99',
950: '#000000',
},
}SCSS
$custom: #303f99; $custom-light: #7673b8; $custom-dark: #000000;
JSON
{
"hex": "#303f99",
"rgb": {
"r": 48,
"g": 63,
"b": 153
},
"hsl": {
"h": 231.429,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.41135,
"c": 0.14724,
"h": 271.2
},
"luminance": 0.06483
}Semantic roles & 50–950 ramp
primary
#303F99
secondary
#BAAF6B
accent
#C74CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80