#303EA9#303EA9
#303EA9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.3% C 0.171 H 271.3°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #303EA9 |
|---|---|
| RGB | rgb(48, 62, 169) |
| HSL | hsl(233, 56%, 43%) |
| HSV | hsv(233, 72%, 66%) |
| CMYK | cmyk(71.6%, 63.3%, 0%, 33.7%) |
| CIE-LAB | lab(31.66, 31.39, -59.05) |
| CIE-LCH | lch(31.66, 66.87, 297.99°) |
| OKLab | oklab(42.34% 0.0037 -0.1705) |
| OKLCH | oklch(42.34% 0.171 271.3) |
| XYZ | xyz(10.1006, 6.9372, 38.3351) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.99
Blue Blue
#2242C7
ΔE00 4.11
Blueberry
#464196
ΔE00 4.48
Ocean Blue
#4F42B5
ΔE00 4.77
Cobalt
#0047AB
ΔE00 5.28
Darkslateblue
#483D8B
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303EA9 #A99B30
analogous
#307AA9 #303EA9 #5F30A9
triadic
#303EA9 #A9303E #3EA930
tetradic
#303EA9 #A9307A #A99B30 #30A95F
square
#303EA9 #A9307A #A99B30 #30A95F
split-complementary
#303EA9 #A95F30 #7AA930
monochromatic
#151B4A #222D79 #303EA9 #4A59CC #7A85D9
Accessibility & contrast
On white
8.80
#303EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#303EA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303EA9
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303EA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303EA9 | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0045A7
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #303ea9; /* rgb */ color: rgb(48, 62, 169); /* oklch */ color: oklch(42.3% 0.171 271.3);
Tailwind
colors: {
custom: {
50: '#7973c3',
500: '#303ea9',
950: '#000000',
},
}SCSS
$custom: #303ea9; $custom-light: #7973c3; $custom-dark: #000000;
JSON
{
"hex": "#303ea9",
"rgb": {
"r": 48,
"g": 62,
"b": 169
},
"hsl": {
"h": 233.058,
"s": 55.76,
"l": 42.549
},
"oklch": {
"l": 0.42336,
"c": 0.17054,
"h": 271.3
},
"luminance": 0.06938
}Semantic roles & 50–950 ramp
primary
#303EA9
secondary
#C2B973
accent
#CE49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82