#303D9C#303D9C
#303D9C is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.0% C 0.154 H 271.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #303D9C |
|---|---|
| RGB | rgb(48, 61, 156) |
| HSL | hsl(233, 53%, 40%) |
| HSV | hsv(233, 69%, 61%) |
| CMYK | cmyk(69.2%, 60.9%, 0%, 38.8%) |
| CIE-LAB | lab(30.32, 27.30, -53.40) |
| CIE-LCH | lch(30.32, 59.97, 297.07°) |
| OKLab | oklab(41% 0.0049 -0.1539) |
| OKLCH | oklch(41% 0.154 271.8) |
| XYZ | xyz(8.8864, 6.3653, 32.2064) |
| Luminance | 0.0637 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.84
Blueberry
#464196
ΔE00 3.71
Darkslateblue
#483D8B
ΔE00 5.27
Cobalt
#0047AB
ΔE00 5.55
Blue Blue
#2242C7
ΔE00 5.94
Ocean Blue
#4F42B5
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303D9C #9C8F30
analogous
#30739C #303D9C #59309C
triadic
#303D9C #9C303D #3D9C30
tetradic
#303D9C #9C3073 #9C8F30 #309C59
square
#303D9C #9C3073 #9C8F30 #309C59
split-complementary
#303D9C #9C5930 #739C30
monochromatic
#13183E #222B6D #303D9C #4453C5 #737ED4
Accessibility & contrast
On white
9.24
#303D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#303D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303D9C
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303D9C | 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)
#004C9F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #303d9c; /* rgb */ color: rgb(48, 61, 156); /* oklch */ color: oklch(41.0% 0.154 271.8);
Tailwind
colors: {
custom: {
50: '#7672ba',
500: '#303d9c',
950: '#000000',
},
}SCSS
$custom: #303d9c; $custom-light: #7672ba; $custom-dark: #000000;
JSON
{
"hex": "#303d9c",
"rgb": {
"r": 48,
"g": 61,
"b": 156
},
"hsl": {
"h": 232.778,
"s": 52.941,
"l": 40
},
"oklch": {
"l": 0.41001,
"c": 0.15403,
"h": 271.8
},
"luminance": 0.06366
}Semantic roles & 50–950 ramp
primary
#303D9C
secondary
#BCB26C
accent
#CB4BDC
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0812
muted
#7C7B81