#4751C2#4751C2
#4751C2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.3% C 0.175 H 274.2°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #4751C2 |
|---|---|
| RGB | rgb(71, 81, 194) |
| HSL | hsl(235, 50%, 52%) |
| HSV | hsv(235, 63%, 76%) |
| CMYK | cmyk(63.4%, 58.2%, 0%, 23.9%) |
| CIE-LAB | lab(39.78, 31.42, -60.53) |
| CIE-LCH | lch(39.78, 68.20, 297.43°) |
| OKLab | oklab(49.33% 0.0129 -0.1741) |
| OKLCH | oklch(49.33% 0.175 274.2) |
| XYZ | xyz(15.2754, 11.1182, 52.3695) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.90
Iris
#6258C4
ΔE00 4.63
Blue Blue
#2242C7
ΔE00 5.12
Ocean Blue
#4F42B5
ΔE00 5.23
Blue (survey)
#0343DF
ΔE00 5.80
Sapphire
#0F52BA
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4751C2 #C2B847
analogous
#478FC2 #4751C2 #7B47C2
triadic
#4751C2 #C24751 #51C247
tetradic
#4751C2 #C2478F #C2B847 #47C27B
square
#4751C2 #C2478F #C2B847 #47C27B
split-complementary
#4751C2 #C27B47 #8FC247
monochromatic
#24296B #333B99 #4751C2 #757CD1 #A3A8E0
Accessibility & contrast
On white
6.51
#4751C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#4751C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4751C2
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4751C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4751C2 | 1.00 | 6.51 | 3.22 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#006C81
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4751c2; /* rgb */ color: rgb(71, 81, 194); /* oklch */ color: oklch(49.3% 0.175 274.2);
Tailwind
colors: {
custom: {
50: '#8781d5',
500: '#4751c2',
950: '#000000',
},
}SCSS
$custom: #4751c2; $custom-light: #8781d5; $custom-dark: #000000;
JSON
{
"hex": "#4751c2",
"rgb": {
"r": 71,
"g": 81,
"b": 194
},
"hsl": {
"h": 235.122,
"s": 50.204,
"l": 51.961
},
"oklch": {
"l": 0.49329,
"c": 0.17459,
"h": 274.2
},
"luminance": 0.11119
}Semantic roles & 50–950 ramp
primary
#4751C2
secondary
#CDC997
accent
#CE4EDA
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83