#4751AC#4751AC
#4751AC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.7% C 0.144 H 274.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #4751AC |
|---|---|
| RGB | rgb(71, 81, 172) |
| HSL | hsl(234, 42%, 48%) |
| HSV | hsv(234, 59%, 67%) |
| CMYK | cmyk(58.7%, 52.9%, 0%, 32.5%) |
| CIE-LAB | lab(38.20, 23.88, -50.15) |
| CIE-LCH | lch(38.20, 55.55, 295.47°) |
| OKLab | oklab(47.65% 0.0121 -0.1436) |
| OKLCH | oklch(47.65% 0.144 274.8) |
| XYZ | xyz(12.9849, 10.2020, 40.3067) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 5.60
Blueberry
#464196
ΔE00 5.90
Sapphire
#0F52BA
ΔE00 6.00
Iris
#6258C4
ΔE00 6.00
Twilight
#4E518B
ΔE00 6.20
Blue Blue
#2242C7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4751AC #ACA247
analogous
#4784AC #4751AC #6F47AC
triadic
#4751AC #AC4751 #51AC47
tetradic
#4751AC #AC4784 #ACA247 #47AC6F
square
#4751AC #AC4784 #ACA247 #47AC6F
split-complementary
#4751AC #AC6F47 #84AC47
monochromatic
#232855 #353D81 #4751AC #6D76C3 #999FD5
Accessibility & contrast
On white
6.91
#4751AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#4751AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4751AC
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4751AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4751AC | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C5EAF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4751ac; /* rgb */ color: rgb(71, 81, 172); /* oklch */ color: oklch(47.7% 0.144 274.8);
Tailwind
colors: {
custom: {
50: '#8381c5',
500: '#4751ac',
950: '#000000',
},
}SCSS
$custom: #4751ac; $custom-light: #8381c5; $custom-dark: #000000;
JSON
{
"hex": "#4751ac",
"rgb": {
"r": 71,
"g": 81,
"b": 172
},
"hsl": {
"h": 234.059,
"s": 41.564,
"l": 47.647
},
"oklch": {
"l": 0.47652,
"c": 0.14409,
"h": 274.8
},
"luminance": 0.10203
}Semantic roles & 50–950 ramp
primary
#4751AC
secondary
#C1BC8E
accent
#C556D1
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0B0A13
muted
#7C7C82