#303E95#303E95
#303E95 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.143 H 271.6°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #303E95 |
|---|---|
| RGB | rgb(48, 62, 149) |
| HSL | hsl(232, 51%, 39%) |
| HSV | hsv(232, 68%, 58%) |
| CMYK | cmyk(67.8%, 58.4%, 0%, 41.6%) |
| CIE-LAB | lab(30.02, 24.05, -49.62) |
| CIE-LCH | lch(30.02, 55.15, 295.86°) |
| OKLab | oklab(40.6% 0.004 -0.1428) |
| OKLCH | oklch(40.6% 0.143 271.6) |
| XYZ | xyz(8.3645, 6.2428, 29.1921) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.66
Sapphire (survey)
#2138AB
ΔE00 3.95
Darkslateblue
#483D8B
ΔE00 4.99
Cobalt (survey)
#1E488F
ΔE00 5.56
Cobalt
#0047AB
ΔE00 5.59
Ocean Blue
#4F42B5
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303E95 #958730
analogous
#307095 #303E95 #543095
triadic
#303E95 #95303E #3E9530
tetradic
#303E95 #953070 #958730 #309554
square
#303E95 #953070 #958730 #309554
split-complementary
#303E95 #955430 #709530
monochromatic
#121738 #212B67 #303E95 #4152C2 #6F7CD1
Accessibility & contrast
On white
9.34
#303E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#303E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303E95
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303E95 | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004293
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #303e95; /* rgb */ color: rgb(48, 62, 149); /* oklch */ color: oklch(40.6% 0.143 271.6);
Tailwind
colors: {
custom: {
50: '#7573b5',
500: '#303e95',
950: '#000000',
},
}SCSS
$custom: #303e95; $custom-light: #7573b5; $custom-dark: #000000;
JSON
{
"hex": "#303e95",
"rgb": {
"r": 48,
"g": 62,
"b": 149
},
"hsl": {
"h": 231.683,
"s": 51.269,
"l": 38.627
},
"oklch": {
"l": 0.40602,
"c": 0.14288,
"h": 271.6
},
"luminance": 0.06244
}Semantic roles & 50–950 ramp
primary
#303E95
secondary
#B8AD69
accent
#C74DDB
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090811
muted
#7B7B80