#4151CE#4151CE
#4151CE is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.9% C 0.192 H 271.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #4151CE |
|---|---|
| RGB | rgb(65, 81, 206) |
| HSL | hsl(233, 59%, 53%) |
| HSV | hsv(233, 68%, 81%) |
| CMYK | cmyk(68.4%, 60.7%, 0%, 19.2%) |
| CIE-LAB | lab(40.35, 34.67, -66.57) |
| CIE-LCH | lch(40.35, 75.06, 297.51°) |
| OKLab | oklab(49.95% 0.0063 -0.192) |
| OKLCH | oklch(49.95% 0.192 271.9) |
| XYZ | xyz(16.2592, 11.4634, 59.7363) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.83
Blue (survey)
#0343DF
ΔE00 4.81
Blue Blue
#2242C7
ΔE00 4.95
Iris
#6258C4
ΔE00 5.24
Electric Blue
#0652FF
ΔE00 5.75
Azul
#1D5DEC
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151CE #CEBE41
analogous
#4198CE #4151CE #7741CE
triadic
#4151CE #CE4151 #51CE41
tetradic
#4151CE #CE4198 #CEBE41 #41CE77
square
#4151CE #CE4198 #CEBE41 #41CE77
split-complementary
#4151CE #CE7741 #98CE41
monochromatic
#1E2876 #2B39A7 #4151CE #727EDB #A2AAE7
Accessibility & contrast
On white
6.38
#4151CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#4151CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151CE
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151CE | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4151ce; /* rgb */ color: rgb(65, 81, 206); /* oklch */ color: oklch(49.9% 0.192 271.9);
Tailwind
colors: {
custom: {
50: '#8781de',
500: '#4151ce',
950: '#000000',
},
}SCSS
$custom: #4151ce; $custom-light: #8781de; $custom-dark: #000000;
JSON
{
"hex": "#4151ce",
"rgb": {
"r": 65,
"g": 81,
"b": 206
},
"hsl": {
"h": 233.191,
"s": 58.996,
"l": 53.137
},
"oklch": {
"l": 0.49948,
"c": 0.19211,
"h": 271.9
},
"luminance": 0.11465
}Semantic roles & 50–950 ramp
primary
#4151CE
secondary
#D4CD97
accent
#D046E2
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83