#4751BF#4751BF
#4751BF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.1% C 0.171 H 274.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #4751BF |
|---|---|
| RGB | rgb(71, 81, 191) |
| HSL | hsl(235, 48%, 51%) |
| HSV | hsv(235, 63%, 75%) |
| CMYK | cmyk(62.8%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(39.55, 30.39, -59.14) |
| CIE-LCH | lch(39.55, 66.50, 297.20°) |
| OKLab | oklab(49.09% 0.0129 -0.17) |
| OKLCH | oklch(49.09% 0.171 274.3) |
| XYZ | xyz(14.9418, 10.9848, 50.6130) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.27
Iris
#6258C4
ΔE00 4.72
Ocean Blue
#4F42B5
ΔE00 5.15
Blue Blue
#2242C7
ΔE00 5.17
Sapphire
#0F52BA
ΔE00 6.03
Blue (survey)
#0343DF
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4751BF #BFB547
analogous
#478DBF #4751BF #7947BF
triadic
#4751BF #BF4751 #51BF47
tetradic
#4751BF #BF478D #BFB547 #47BF79
square
#4751BF #BF478D #BFB547 #47BF79
split-complementary
#4751BF #BF7947 #8DBF47
monochromatic
#242A68 #343C95 #4751BF #747CCF #A2A7DF
Accessibility & contrast
On white
6.57
#4751BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#4751BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4751BF
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4751BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4751BF | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4751bf; /* rgb */ color: rgb(71, 81, 191); /* oklch */ color: oklch(49.1% 0.171 274.3);
Tailwind
colors: {
custom: {
50: '#8781d3',
500: '#4751bf',
950: '#000000',
},
}SCSS
$custom: #4751bf; $custom-light: #8781d3; $custom-dark: #000000;
JSON
{
"hex": "#4751bf",
"rgb": {
"r": 71,
"g": 81,
"b": 191
},
"hsl": {
"h": 235,
"s": 48.387,
"l": 51.373
},
"oklch": {
"l": 0.49092,
"c": 0.17053,
"h": 274.3
},
"luminance": 0.10986
}Semantic roles & 50–950 ramp
primary
#4751BF
secondary
#CBC796
accent
#CD50D8
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83