#4051CE#4051CE
#4051CE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.9% C 0.192 H 271.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #4051CE |
|---|---|
| RGB | rgb(64, 81, 206) |
| HSL | hsl(233, 59%, 53%) |
| HSV | hsv(233, 69%, 81%) |
| CMYK | cmyk(68.9%, 60.7%, 0%, 19.2%) |
| CIE-LAB | lab(40.29, 34.54, -66.67) |
| CIE-LCH | lch(40.29, 75.08, 297.39°) |
| OKLab | oklab(49.89% 0.0052 -0.1923) |
| OKLCH | oklch(49.89% 0.192 271.6) |
| XYZ | xyz(16.1936, 11.4295, 59.7333) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.89
Blue (survey)
#0343DF
ΔE00 4.76
Blue Blue
#2242C7
ΔE00 4.91
Iris
#6258C4
ΔE00 5.34
Electric Blue
#0652FF
ΔE00 5.73
Azul
#1D5DEC
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4051CE #CEBD40
analogous
#4098CE #4051CE #7640CE
triadic
#4051CE #CE4051 #51CE40
tetradic
#4051CE #CE4098 #CEBD40 #40CE76
square
#4051CE #CE4098 #CEBD40 #40CE76
split-complementary
#4051CE #CE7640 #98CE40
monochromatic
#1E2975 #2B39A6 #4051CE #717DDA #A1AAE7
Accessibility & contrast
On white
6.39
#4051CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#4051CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4051CE
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4051CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4051CE | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#007188
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4051ce; /* rgb */ color: rgb(64, 81, 206); /* oklch */ color: oklch(49.9% 0.192 271.6);
Tailwind
colors: {
custom: {
50: '#8681de',
500: '#4051ce',
950: '#000000',
},
}SCSS
$custom: #4051ce; $custom-light: #8681de; $custom-dark: #000000;
JSON
{
"hex": "#4051ce",
"rgb": {
"r": 64,
"g": 81,
"b": 206
},
"hsl": {
"h": 232.817,
"s": 59.167,
"l": 52.941
},
"oklch": {
"l": 0.49892,
"c": 0.19238,
"h": 271.6
},
"luminance": 0.11431
}Semantic roles & 50–950 ramp
primary
#4051CE
secondary
#D4CC96
accent
#D045E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83