#303E93#303E93
#303E93 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.140 H 271.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #303E93 |
|---|---|
| RGB | rgb(48, 62, 147) |
| HSL | hsl(232, 51%, 38%) |
| HSV | hsv(232, 67%, 58%) |
| CMYK | cmyk(67.3%, 57.8%, 0%, 42.4%) |
| CIE-LAB | lab(29.86, 23.31, -48.65) |
| CIE-LCH | lch(29.86, 53.95, 295.60°) |
| OKLab | oklab(40.44% 0.0039 -0.14) |
| OKLCH | oklch(40.44% 0.14 271.6) |
| XYZ | xyz(8.2062, 6.1795, 28.3584) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.71
Sapphire (survey)
#2138AB
ΔE00 4.24
Darkslateblue
#483D8B
ΔE00 4.93
Cobalt (survey)
#1E488F
ΔE00 5.46
Cobalt
#0047AB
ΔE00 5.71
Darkish Blue
#014182
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303E93 #938530
analogous
#306F93 #303E93 #533093
triadic
#303E93 #93303E #3E9330
tetradic
#303E93 #93306F #938530 #309353
square
#303E93 #93306F #938530 #309353
split-complementary
#303E93 #935330 #6F9330
monochromatic
#121737 #212B65 #303E93 #4052C1 #6E7CD0
Accessibility & contrast
On white
9.39
#303E93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#303E93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303E93
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303E93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303E93 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #303e93; /* rgb */ color: rgb(48, 62, 147); /* oklch */ color: oklch(40.4% 0.140 271.6);
Tailwind
colors: {
custom: {
50: '#7473b3',
500: '#303e93',
950: '#000000',
},
}SCSS
$custom: #303e93; $custom-light: #7473b3; $custom-dark: #000000;
JSON
{
"hex": "#303e93",
"rgb": {
"r": 48,
"g": 62,
"b": 147
},
"hsl": {
"h": 231.515,
"s": 50.769,
"l": 38.235
},
"oklch": {
"l": 0.40436,
"c": 0.14003,
"h": 271.6
},
"luminance": 0.0618
}Semantic roles & 50–950 ramp
primary
#303E93
secondary
#B7AC68
accent
#C64EDA
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80