#4C7BE3#4C7BE3
#4C7BE3 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.3% C 0.166 H 263.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4C7BE3 |
|---|---|
| RGB | rgb(76, 123, 227) |
| HSL | hsl(221, 73%, 59%) |
| HSV | hsv(221, 67%, 89%) |
| CMYK | cmyk(66.5%, 45.8%, 0%, 11%) |
| CIE-LAB | lab(53.22, 17.34, -57.68) |
| CIE-LCH | lch(53.22, 60.23, 286.73°) |
| OKLab | oklab(60.26% -0.0178 -0.1651) |
| OKLCH | oklch(60.26% 0.166 263.8) |
| XYZ | xyz(23.9237, 21.2461, 75.4983) |
| Luminance | 0.2125 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lightish Blue
#3D7AFD
ΔE00 2.72
Clear Blue
#247AFD
ΔE00 3.19
Dodger Blue
#3E82FC
ΔE00 3.72
Deep Sky Blue
#0D75F8
ΔE00 3.76
Cornflower Blue
#5170D7
ΔE00 4.42
Azure
#007FFF
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C7BE3 #E3B44C
analogous
#4CC6E3 #4C7BE3 #694CE3
triadic
#4C7BE3 #E34C7B #7BE34C
tetradic
#4C7BE3 #E34CC6 #E3B44C #4CE369
square
#4C7BE3 #E34CC6 #E3B44C #4CE369
split-complementary
#4C7BE3 #E3694C #C6E34C
monochromatic
#18419C #2158D1 #4C7BE3 #81A2EB #B6C9F4
Accessibility & contrast
On white
4.00
#4C7BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#4C7BE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4C7BE3
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C7BE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4C7BE3 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4686E7
Deuteranopia (green-blind)
#2979E1
Tritanopia (blue-blind)
#0093A4
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #4c7be3; /* rgb */ color: rgb(76, 123, 227); /* oklch */ color: oklch(60.3% 0.166 263.8);
Tailwind
colors: {
custom: {
50: '#8da0ec',
500: '#4c7be3',
950: '#000000',
},
}SCSS
$custom: #4c7be3; $custom-light: #8da0ec; $custom-dark: #000000;
JSON
{
"hex": "#4c7be3",
"rgb": {
"r": 76,
"g": 123,
"b": 227
},
"hsl": {
"h": 221.325,
"s": 72.947,
"l": 59.412
},
"oklch": {
"l": 0.6026,
"c": 0.16603,
"h": 263.8
},
"luminance": 0.21248
}Semantic roles & 50–950 ramp
primary
#4C7BE3
secondary
#E3D1A8
accent
#B738F0
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84