#303CAE#303CAE
#303CAE is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.180 H 271.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #303CAE |
|---|---|
| RGB | rgb(48, 60, 174) |
| HSL | hsl(234, 57%, 44%) |
| HSV | hsv(234, 72%, 68%) |
| CMYK | cmyk(72.4%, 65.5%, 0%, 31.8%) |
| CIE-LAB | lab(31.61, 34.47, -62.12) |
| CIE-LCH | lch(31.61, 71.04, 299.03°) |
| OKLab | oklab(42.43% 0.0049 -0.1795) |
| OKLCH | oklch(42.43% 0.18 271.5) |
| XYZ | xyz(10.4722, 6.9150, 40.8190) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.69
Blue Blue
#2242C7
ΔE00 3.72
Ocean Blue
#4F42B5
ΔE00 4.44
Blueberry
#464196
ΔE00 5.01
Cobalt
#0047AB
ΔE00 5.94
Blue With A Hint Of Purple
#533CC6
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303CAE #AEA230
analogous
#307BAE #303CAE #6330AE
triadic
#303CAE #AE303C #3CAE30
tetradic
#303CAE #AE307B #AEA230 #30AE63
square
#303CAE #AE307B #AEA230 #30AE63
split-complementary
#303CAE #AE6330 #7BAE30
monochromatic
#161B4E #232B7E #303CAE #4D59CE #7D86DB
Accessibility & contrast
On white
8.81
#303CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#303CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303CAE
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303CAE | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B2
Deuteranopia (green-blind)
#0045AC
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #303cae; /* rgb */ color: rgb(48, 60, 174); /* oklch */ color: oklch(42.4% 0.180 271.5);
Tailwind
colors: {
custom: {
50: '#7b72c7',
500: '#303cae',
950: '#000000',
},
}SCSS
$custom: #303cae; $custom-light: #7b72c7; $custom-dark: #000000;
JSON
{
"hex": "#303cae",
"rgb": {
"r": 48,
"g": 60,
"b": 174
},
"hsl": {
"h": 234.286,
"s": 56.757,
"l": 43.529
},
"oklch": {
"l": 0.42434,
"c": 0.17959,
"h": 271.5
},
"luminance": 0.06916
}Semantic roles & 50–950 ramp
primary
#303CAE
secondary
#C4BC76
accent
#D248E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82