#4751BB#4751BB
#4751BB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.8% C 0.165 H 274.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #4751BB |
|---|---|
| RGB | rgb(71, 81, 187) |
| HSL | hsl(235, 46%, 51%) |
| HSV | hsv(235, 62%, 73%) |
| CMYK | cmyk(62%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(39.26, 29.02, -57.28) |
| CIE-LCH | lch(39.26, 64.21, 296.87°) |
| OKLab | oklab(48.78% 0.0128 -0.1646) |
| OKLCH | oklch(48.78% 0.165 274.4) |
| XYZ | xyz(14.5077, 10.8111, 48.3263) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.78
Iris
#6258C4
ΔE00 4.89
Ocean Blue
#4F42B5
ΔE00 5.11
Blue Blue
#2242C7
ΔE00 5.30
Sapphire
#0F52BA
ΔE00 5.91
Blue (survey)
#0343DF
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4751BB #BBB147
analogous
#478BBB #4751BB #7747BB
triadic
#4751BB #BB4751 #51BB47
tetradic
#4751BB #BB478B #BBB147 #47BB77
square
#4751BB #BB478B #BBB147 #47BB77
split-complementary
#4751BB #BB7747 #8BBB47
monochromatic
#252A63 #353D90 #4751BB #747BCC #A0A6DC
Accessibility & contrast
On white
6.64
#4751BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#4751BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4751BB
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4751BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4751BB | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4751bb; /* rgb */ color: rgb(71, 81, 187); /* oklch */ color: oklch(48.8% 0.165 274.4);
Tailwind
colors: {
custom: {
50: '#8681d0',
500: '#4751bb',
950: '#000000',
},
}SCSS
$custom: #4751bb; $custom-light: #8681d0; $custom-dark: #000000;
JSON
{
"hex": "#4751bb",
"rgb": {
"r": 71,
"g": 81,
"b": 187
},
"hsl": {
"h": 234.828,
"s": 46.032,
"l": 50.588
},
"oklch": {
"l": 0.4878,
"c": 0.16506,
"h": 274.4
},
"luminance": 0.10812
}Semantic roles & 50–950 ramp
primary
#4751BB
secondary
#C9C495
accent
#CA52D6
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82