#303D9F#303D9F
#303D9F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.158 H 271.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #303D9F |
|---|---|
| RGB | rgb(48, 61, 159) |
| HSL | hsl(233, 54%, 41%) |
| HSV | hsv(233, 70%, 62%) |
| CMYK | cmyk(69.8%, 61.6%, 0%, 37.6%) |
| CIE-LAB | lab(30.56, 28.39, -54.82) |
| CIE-LCH | lch(30.56, 61.73, 297.38°) |
| OKLab | oklab(41.26% 0.0048 -0.1581) |
| OKLCH | oklch(41.26% 0.158 271.7) |
| XYZ | xyz(9.1436, 6.4682, 33.5608) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.49
Blueberry
#464196
ΔE00 3.83
Darkslateblue
#483D8B
ΔE00 5.48
Cobalt
#0047AB
ΔE00 5.49
Blue Blue
#2242C7
ΔE00 5.52
Ocean Blue
#4F42B5
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303D9F #9F9230
analogous
#30749F #303D9F #5A309F
triadic
#303D9F #9F303D #3D9F30
tetradic
#303D9F #9F3074 #9F9230 #309F5A
square
#303D9F #9F3074 #9F9230 #309F5A
split-complementary
#303D9F #9F5A30 #749F30
monochromatic
#141941 #222B70 #303D9F #4554C7 #7480D5
Accessibility & contrast
On white
9.16
#303D9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#303D9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303D9F
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303D9F | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00439D
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #303d9f; /* rgb */ color: rgb(48, 61, 159); /* oklch */ color: oklch(41.3% 0.158 271.7);
Tailwind
colors: {
custom: {
50: '#7772bc',
500: '#303d9f',
950: '#000000',
},
}SCSS
$custom: #303d9f; $custom-light: #7772bc; $custom-dark: #000000;
JSON
{
"hex": "#303d9f",
"rgb": {
"r": 48,
"g": 61,
"b": 159
},
"hsl": {
"h": 232.973,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.41262,
"c": 0.15817,
"h": 271.7
},
"luminance": 0.06469
}Semantic roles & 50–950 ramp
primary
#303D9F
secondary
#BDB46E
accent
#CC4BDD
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81