#4751CB#4751CB
#4751CB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.187 H 273.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4751CB |
|---|---|
| RGB | rgb(71, 81, 203) |
| HSL | hsl(235, 56%, 54%) |
| HSV | hsv(235, 65%, 80%) |
| CMYK | cmyk(65%, 60.1%, 0%, 20.4%) |
| CIE-LAB | lab(40.47, 34.50, -64.63) |
| CIE-LCH | lch(40.47, 73.26, 298.09°) |
| OKLab | oklab(50.06% 0.0128 -0.1862) |
| OKLCH | oklch(50.06% 0.187 273.9) |
| XYZ | xyz(16.3169, 11.5348, 57.8549) |
| Luminance | 0.1154 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.88
Iris
#6258C4
ΔE00 4.55
Blue Blue
#2242C7
ΔE00 5.21
Blue (survey)
#0343DF
ΔE00 5.28
Ocean Blue
#4F42B5
ΔE00 5.64
Slate Blue
#6A5ACD
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4751CB #CBC147
analogous
#4793CB #4751CB #7F47CB
triadic
#4751CB #CB4751 #51CB47
tetradic
#4751CB #CB4793 #CBC147 #47CB7F
square
#4751CB #CB4793 #CBC147 #47CB7F
split-complementary
#4751CB #CB7F47 #93CB47
monochromatic
#212876 #2F38A6 #4751CB #777ED8 #A6ABE6
Accessibility & contrast
On white
6.35
#4751CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#4751CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4751CB
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4751CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4751CB | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4751cb; /* rgb */ color: rgb(71, 81, 203); /* oklch */ color: oklch(50.1% 0.187 273.9);
Tailwind
colors: {
custom: {
50: '#8982dc',
500: '#4751cb',
950: '#000000',
},
}SCSS
$custom: #4751cb; $custom-light: #8982dc; $custom-dark: #000000;
JSON
{
"hex": "#4751cb",
"rgb": {
"r": 71,
"g": 81,
"b": 203
},
"hsl": {
"h": 235.455,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.50055,
"c": 0.18661,
"h": 273.9
},
"luminance": 0.11536
}Semantic roles & 50–950 ramp
primary
#4751CB
secondary
#D3CF9B
accent
#D449DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83