#4768E2#4768E2
#4768E2 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 56.1% C 0.189 H 268.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #4768E2 |
|---|---|
| RGB | rgb(71, 104, 226) |
| HSL | hsl(227, 73%, 58%) |
| HSV | hsv(227, 69%, 89%) |
| CMYK | cmyk(68.6%, 54%, 0%, 11.4%) |
| CIE-LAB | lab(47.92, 28.07, -65.68) |
| CIE-LCH | lch(47.92, 71.42, 293.14°) |
| OKLab | oklab(56.15% -0.0057 -0.189) |
| OKLCH | oklch(56.15% 0.189 268.3) |
| XYZ | xyz(21.2716, 16.7291, 74.0448) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 0.96
Cornflower Blue
#5170D7
ΔE00 2.98
Bright Blue
#0165FC
ΔE00 3.68
Azul
#1D5DEC
ΔE00 4.17
Cerulean Blue
#056EEE
ΔE00 4.98
Warm Blue
#4B57DB
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4768E2 #E2C147
analogous
#47B5E2 #4768E2 #7347E2
triadic
#4768E2 #E24768 #68E247
tetradic
#4768E2 #E247B5 #E2C147 #47E273
square
#4768E2 #E247B5 #E2C147 #47E273
split-complementary
#4768E2 #E27347 #B5E247
monochromatic
#183397 #2045CC #4768E2 #7C93EA #B1BFF3
Accessibility & contrast
On white
4.83
#4768E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#4768E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4768E2
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4768E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4768E2 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#00859B
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #4768e2; /* rgb */ color: rgb(71, 104, 226); /* oklch */ color: oklch(56.1% 0.189 268.3);
Tailwind
colors: {
custom: {
50: '#8c92ec',
500: '#4768e2',
950: '#000000',
},
}SCSS
$custom: #4768e2; $custom-light: #8c92ec; $custom-dark: #000000;
JSON
{
"hex": "#4768e2",
"rgb": {
"r": 71,
"g": 104,
"b": 226
},
"hsl": {
"h": 227.226,
"s": 72.77,
"l": 58.235
},
"oklch": {
"l": 0.56148,
"c": 0.18906,
"h": 268.3
},
"luminance": 0.16731
}Semantic roles & 50–950 ramp
primary
#4768E2
secondary
#E1D4A4
accent
#C838EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0D0D16
muted
#7E7D84