#303C9F#303C9F
#303C9F is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.159 H 272.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #303C9F |
|---|---|
| RGB | rgb(48, 60, 159) |
| HSL | hsl(234, 54%, 41%) |
| HSV | hsv(234, 70%, 62%) |
| CMYK | cmyk(69.8%, 62.3%, 0%, 37.6%) |
| CIE-LAB | lab(30.31, 29.05, -55.23) |
| CIE-LCH | lch(30.31, 62.41, 297.74°) |
| OKLab | oklab(41.07% 0.0056 -0.1593) |
| OKLCH | oklch(41.07% 0.159 272) |
| XYZ | xyz(9.0907, 6.3624, 33.5432) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.33
Blueberry
#464196
ΔE00 3.87
Darkslateblue
#483D8B
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 5.59
Ocean Blue
#4F42B5
ΔE00 5.63
Cobalt
#0047AB
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303C9F #9F9330
analogous
#30739F #303C9F #5C309F
triadic
#303C9F #9F303C #3C9F30
tetradic
#303C9F #9F3073 #9F9330 #309F5C
square
#303C9F #9F3073 #9F9330 #309F5C
split-complementary
#303C9F #9F5C30 #739F30
monochromatic
#141941 #222A70 #303C9F #4553C7 #747FD5
Accessibility & contrast
On white
9.24
#303C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#303C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303C9F
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303C9F | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #303c9f; /* rgb */ color: rgb(48, 60, 159); /* oklch */ color: oklch(41.1% 0.159 272.0);
Tailwind
colors: {
custom: {
50: '#7771bc',
500: '#303c9f',
950: '#000000',
},
}SCSS
$custom: #303c9f; $custom-light: #7771bc; $custom-dark: #000000;
JSON
{
"hex": "#303c9f",
"rgb": {
"r": 48,
"g": 60,
"b": 159
},
"hsl": {
"h": 233.514,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.41074,
"c": 0.15943,
"h": 272
},
"luminance": 0.06363
}Semantic roles & 50–950 ramp
primary
#303C9F
secondary
#BDB46E
accent
#CD4BDD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81