#4751CF#4751CF
#4751CF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.192 H 273.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4751CF |
|---|---|
| RGB | rgb(71, 81, 207) |
| HSL | hsl(236, 59%, 55%) |
| HSV | hsv(236, 66%, 81%) |
| CMYK | cmyk(65.7%, 60.9%, 0%, 18.8%) |
| CIE-LAB | lab(40.78, 35.86, -66.43) |
| CIE-LCH | lch(40.78, 75.49, 298.36°) |
| OKLab | oklab(50.38% 0.0127 -0.1915) |
| OKLCH | oklch(50.38% 0.192 273.8) |
| XYZ | xyz(16.7997, 11.7280, 60.3978) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.49
Iris
#6258C4
ΔE00 4.60
Blue (survey)
#0343DF
ΔE00 5.14
Blue Blue
#2242C7
ΔE00 5.36
Slate Blue
#6A5ACD
ΔE00 5.80
Electric Blue
#0652FF
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4751CF #CFC547
analogous
#4795CF #4751CF #8147CF
triadic
#4751CF #CF4751 #51CF47
tetradic
#4751CF #CF4795 #CFC547 #47CF81
square
#4751CF #CF4795 #CFC547 #47CF81
split-complementary
#4751CF #CF8147 #95CF47
monochromatic
#20277B #2D36AC #4751CF #787FDC #A8ADE8
Accessibility & contrast
On white
6.28
#4751CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#4751CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4751CF
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4751CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4751CF | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#005ACD
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4751cf; /* rgb */ color: rgb(71, 81, 207); /* oklch */ color: oklch(50.4% 0.192 273.8);
Tailwind
colors: {
custom: {
50: '#8a82df',
500: '#4751cf',
950: '#000000',
},
}SCSS
$custom: #4751cf; $custom-light: #8a82df; $custom-dark: #000000;
JSON
{
"hex": "#4751cf",
"rgb": {
"r": 71,
"g": 81,
"b": 207
},
"hsl": {
"h": 235.588,
"s": 58.621,
"l": 54.51
},
"oklch": {
"l": 0.50384,
"c": 0.19188,
"h": 273.8
},
"luminance": 0.11729
}Semantic roles & 50–950 ramp
primary
#4751CF
secondary
#D6D19C
accent
#D646E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83