#303BAC#303BAC
#303BAC is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.178 H 271.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).
Color values
| HEX | #303BAC |
|---|---|
| RGB | rgb(48, 59, 172) |
| HSL | hsl(235, 56%, 43%) |
| HSV | hsv(235, 72%, 67%) |
| CMYK | cmyk(72.1%, 65.7%, 0%, 32.5%) |
| CIE-LAB | lab(31.19, 34.40, -61.61) |
| CIE-LCH | lch(31.19, 70.56, 299.17°) |
| OKLab | oklab(42.07% 0.0057 -0.178) |
| OKLCH | oklch(42.07% 0.178 271.8) |
| XYZ | xyz(10.2268, 6.7338, 39.7825) |
| Luminance | 0.0673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.50
Blue Blue
#2242C7
ΔE00 4.08
Ocean Blue
#4F42B5
ΔE00 4.59
Blueberry
#464196
ΔE00 4.90
Blue With A Hint Of Purple
#533CC6
ΔE00 6.11
Cobalt
#0047AB
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303BAC #ACA130
analogous
#3079AC #303BAC #6330AC
triadic
#303BAC #AC303B #3BAC30
tetradic
#303BAC #AC3079 #ACA130 #30AC63
square
#303BAC #AC3079 #ACA130 #30AC63
split-complementary
#303BAC #AC6330 #79AC30
monochromatic
#151A4C #232B7C #303BAC #4C58CD #7C84DA
Accessibility & contrast
On white
8.95
#303BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#303BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303BAC
8.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303BAC | 1.00 | 8.95 | 2.35 | 8.95 |
| #FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #303bac; /* rgb */ color: rgb(48, 59, 172); /* oklch */ color: oklch(42.1% 0.178 271.8);
Tailwind
colors: {
custom: {
50: '#7a71c6',
500: '#303bac',
950: '#000000',
},
}SCSS
$custom: #303bac; $custom-light: #7a71c6; $custom-dark: #000000;
JSON
{
"hex": "#303bac",
"rgb": {
"r": 48,
"g": 59,
"b": 172
},
"hsl": {
"h": 234.677,
"s": 56.364,
"l": 43.137
},
"oklch": {
"l": 0.42072,
"c": 0.17813,
"h": 271.8
},
"luminance": 0.06735
}Semantic roles & 50–950 ramp
primary
#303BAC
secondary
#C3BC75
accent
#D248E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82