#303E99#303E99
#303E99 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.149 H 271.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #303E99 |
|---|---|
| RGB | rgb(48, 62, 153) |
| HSL | hsl(232, 52%, 39%) |
| HSV | hsv(232, 69%, 60%) |
| CMYK | cmyk(68.6%, 59.5%, 0%, 40%) |
| CIE-LAB | lab(30.33, 25.53, -51.55) |
| CIE-LCH | lch(30.33, 57.52, 296.35°) |
| OKLab | oklab(40.94% 0.004 -0.1485) |
| OKLCH | oklch(40.94% 0.149 271.5) |
| XYZ | xyz(8.6894, 6.3727, 30.9029) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.40
Blueberry
#464196
ΔE00 3.65
Darkslateblue
#483D8B
ΔE00 5.17
Cobalt
#0047AB
ΔE00 5.40
Cobalt (survey)
#1E488F
ΔE00 5.79
Blue Blue
#2242C7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303E99 #998B30
analogous
#307399 #303E99 #573099
triadic
#303E99 #99303E #3E9930
tetradic
#303E99 #993073 #998B30 #309957
square
#303E99 #993073 #998B30 #309957
split-complementary
#303E99 #995730 #739930
monochromatic
#13183C #212B6A #303E99 #4254C4 #717ED2
Accessibility & contrast
On white
9.23
#303E99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#303E99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303E99
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303E99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303E99 | 1.00 | 9.23 | 2.27 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004397
Tritanopia (blue-blind)
#005465
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #303e99; /* rgb */ color: rgb(48, 62, 153); /* oklch */ color: oklch(40.9% 0.149 271.5);
Tailwind
colors: {
custom: {
50: '#7673b8',
500: '#303e99',
950: '#000000',
},
}SCSS
$custom: #303e99; $custom-light: #7673b8; $custom-dark: #000000;
JSON
{
"hex": "#303e99",
"rgb": {
"r": 48,
"g": 62,
"b": 153
},
"hsl": {
"h": 232,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.40938,
"c": 0.14854,
"h": 271.5
},
"luminance": 0.06374
}Semantic roles & 50–950 ramp
primary
#303E99
secondary
#BAB06B
accent
#C94CDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80