#303BAF#303BAF
#303BAF is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.182 H 271.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #303BAF |
|---|---|
| RGB | rgb(48, 59, 175) |
| HSL | hsl(235, 57%, 44%) |
| HSV | hsv(235, 73%, 69%) |
| CMYK | cmyk(72.6%, 66.3%, 0%, 31.4%) |
| CIE-LAB | lab(31.46, 35.47, -62.96) |
| CIE-LCH | lch(31.46, 72.26, 299.39°) |
| OKLab | oklab(42.35% 0.0054 -0.182) |
| OKLCH | oklch(42.35% 0.182 271.7) |
| XYZ | xyz(10.5181, 6.8504, 41.3171) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.65
Blue Blue
#2242C7
ΔE00 3.76
Ocean Blue
#4F42B5
ΔE00 4.43
Blueberry
#464196
ΔE00 5.17
Blue With A Hint Of Purple
#533CC6
ΔE00 5.80
Cobalt
#0047AB
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303BAF #AFA430
analogous
#307AAF #303BAF #6430AF
triadic
#303BAF #AF303B #3BAF30
tetradic
#303BAF #AF307A #AFA430 #30AF64
square
#303BAF #AF307A #AFA430 #30AF64
split-complementary
#303BAF #AF6430 #7AAF30
monochromatic
#161B4F #232B7F #303BAF #4E59CE #7E86DC
Accessibility & contrast
On white
8.86
#303BAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#303BAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303BAF
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303BAF | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #303baf; /* rgb */ color: rgb(48, 59, 175); /* oklch */ color: oklch(42.4% 0.182 271.7);
Tailwind
colors: {
custom: {
50: '#7b71c8',
500: '#303baf',
950: '#000000',
},
}SCSS
$custom: #303baf; $custom-light: #7b71c8; $custom-dark: #000000;
JSON
{
"hex": "#303baf",
"rgb": {
"r": 48,
"g": 59,
"b": 175
},
"hsl": {
"h": 234.803,
"s": 56.951,
"l": 43.725
},
"oklch": {
"l": 0.42353,
"c": 0.18207,
"h": 271.7
},
"luminance": 0.06851
}Semantic roles & 50–950 ramp
primary
#303BAF
secondary
#C4BE76
accent
#D348E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82