#303EAC#303EAC
#303EAC is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.6% C 0.175 H 271.2°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #303EAC |
|---|---|
| RGB | rgb(48, 62, 172) |
| HSL | hsl(233, 56%, 43%) |
| HSV | hsv(233, 72%, 67%) |
| CMYK | cmyk(72.1%, 64%, 0%, 32.5%) |
| CIE-LAB | lab(31.92, 32.47, -60.42) |
| CIE-LCH | lch(31.92, 68.59, 298.26°) |
| OKLab | oklab(42.61% 0.0036 -0.1745) |
| OKLCH | oklch(42.61% 0.175 271.2) |
| XYZ | xyz(10.3854, 7.0511, 39.8354) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.97
Blue Blue
#2242C7
ΔE00 3.73
Ocean Blue
#4F42B5
ΔE00 4.55
Blueberry
#464196
ΔE00 4.74
Cobalt
#0047AB
ΔE00 5.37
Blue With A Hint Of Purple
#533CC6
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#303EAC #AC9E30
analogous
#307CAC #303EAC #6030AC
triadic
#303EAC #AC303E #3EAC30
tetradic
#303EAC #AC307C #AC9E30 #30AC60
square
#303EAC #AC307C #AC9E30 #30AC60
split-complementary
#303EAC #AC6030 #7CAC30
monochromatic
#151C4C #232D7C #303EAC #4C5BCD #7C87DA
Accessibility & contrast
On white
8.71
#303EAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#303EAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #303EAC
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##303EAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##303EAC | 1.00 | 8.71 | 2.41 | 8.71 |
| #FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#005A6F
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #303eac; /* rgb */ color: rgb(48, 62, 172); /* oklch */ color: oklch(42.6% 0.175 271.2);
Tailwind
colors: {
custom: {
50: '#7a73c6',
500: '#303eac',
950: '#000000',
},
}SCSS
$custom: #303eac; $custom-light: #7a73c6; $custom-dark: #000000;
JSON
{
"hex": "#303eac",
"rgb": {
"r": 48,
"g": 62,
"b": 172
},
"hsl": {
"h": 233.226,
"s": 56.364,
"l": 43.137
},
"oklch": {
"l": 0.42607,
"c": 0.17456,
"h": 271.2
},
"luminance": 0.07052
}Semantic roles & 50–950 ramp
primary
#303EAC
secondary
#C3BA75
accent
#CF48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82