#303DAE#303DAE
#303DAE is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.178 H 271.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #303DAE |
|---|---|
| RGB | rgb(48, 61, 174) |
| HSL | hsl(234, 57%, 44%) |
| HSV | hsv(234, 72%, 68%) |
| CMYK | cmyk(72.4%, 64.9%, 0%, 31.8%) |
| CIE-LAB | lab(31.85, 33.84, -61.72) |
| CIE-LCH | lch(31.85, 70.39, 298.73°) |
| OKLab | oklab(42.61% 0.0042 -0.1784) |
| OKLCH | oklch(42.61% 0.178 271.3) |
| XYZ | xyz(10.5251, 7.0208, 40.8367) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.83
Blue Blue
#2242C7
ΔE00 3.59
Ocean Blue
#4F42B5
ΔE00 4.42
Blueberry
#464196
ΔE00 4.95
Cobalt
#0047AB
ΔE00 5.69
Blue With A Hint Of Purple
#533CC6
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303DAE #AEA130
analogous
#307CAE #303DAE #6230AE
triadic
#303DAE #AE303D #3DAE30
tetradic
#303DAE #AE307C #AEA130 #30AE62
square
#303DAE #AE307C #AEA130 #30AE62
split-complementary
#303DAE #AE6230 #7CAE30
monochromatic
#161B4E #232C7E #303DAE #4D5BCE #7D87DB
Accessibility & contrast
On white
8.73
#303DAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#303DAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303DAE
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303DAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303DAE | 1.00 | 8.73 | 2.40 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #303dae; /* rgb */ color: rgb(48, 61, 174); /* oklch */ color: oklch(42.6% 0.178 271.3);
Tailwind
colors: {
custom: {
50: '#7a72c7',
500: '#303dae',
950: '#000000',
},
}SCSS
$custom: #303dae; $custom-light: #7a72c7; $custom-dark: #000000;
JSON
{
"hex": "#303dae",
"rgb": {
"r": 48,
"g": 61,
"b": 174
},
"hsl": {
"h": 233.81,
"s": 56.757,
"l": 43.529
},
"oklch": {
"l": 0.42611,
"c": 0.17841,
"h": 271.3
},
"luminance": 0.07022
}Semantic roles & 50–950 ramp
primary
#303DAE
secondary
#C4BC76
accent
#D048E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82