#303AAB#303AAB
#303AAB is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.178 H 272.1°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #303AAB |
|---|---|
| RGB | rgb(48, 58, 171) |
| HSL | hsl(235, 56%, 43%) |
| HSV | hsv(235, 72%, 67%) |
| CMYK | cmyk(71.9%, 66.1%, 0%, 32.9%) |
| CIE-LAB | lab(30.86, 34.67, -61.55) |
| CIE-LCH | lch(30.86, 70.65, 299.39°) |
| OKLab | oklab(41.8% 0.0064 -0.1779) |
| OKLCH | oklch(41.8% 0.178 272.1) |
| XYZ | xyz(10.0802, 6.5938, 39.2617) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.42
Blue Blue
#2242C7
ΔE00 4.34
Ocean Blue
#4F42B5
ΔE00 4.70
Blueberry
#464196
ΔE00 4.90
Blue With A Hint Of Purple
#533CC6
ΔE00 6.18
Cobalt
#0047AB
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303AAB #ABA130
analogous
#3077AB #303AAB #6330AB
triadic
#303AAB #AB303A #3AAB30
tetradic
#303AAB #AB3077 #ABA130 #30AB63
square
#303AAB #AB3077 #ABA130 #30AB63
split-complementary
#303AAB #AB6330 #77AB30
monochromatic
#151A4B #232A7B #303AAB #4C56CD #7B83DA
Accessibility & contrast
On white
9.06
#303AAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#303AAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303AAB
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303AAB | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #303aab; /* rgb */ color: rgb(48, 58, 171); /* oklch */ color: oklch(41.8% 0.178 272.1);
Tailwind
colors: {
custom: {
50: '#7a70c5',
500: '#303aab',
950: '#000000',
},
}SCSS
$custom: #303aab; $custom-light: #7a70c5; $custom-dark: #000000;
JSON
{
"hex": "#303aab",
"rgb": {
"r": 48,
"g": 58,
"b": 171
},
"hsl": {
"h": 235.122,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.41804,
"c": 0.178,
"h": 272.1
},
"luminance": 0.06595
}Semantic roles & 50–950 ramp
primary
#303AAB
secondary
#C3BC74
accent
#D348DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82