#4154CE#4154CE
#4154CE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.5% C 0.189 H 271.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4154CE |
|---|---|
| RGB | rgb(65, 84, 206) |
| HSL | hsl(232, 59%, 53%) |
| HSV | hsv(232, 68%, 81%) |
| CMYK | cmyk(68.4%, 59.2%, 0%, 19.2%) |
| CIE-LAB | lab(41.09, 32.79, -65.37) |
| CIE-LCH | lch(41.09, 73.13, 296.63°) |
| OKLab | oklab(50.49% 0.004 -0.1885) |
| OKLCH | oklch(50.49% 0.189 271.2) |
| XYZ | xyz(16.4871, 11.9191, 59.8123) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.46
Azul
#1D5DEC
ΔE00 5.15
Iris
#6258C4
ΔE00 5.16
Blue (survey)
#0343DF
ΔE00 5.50
Electric Blue
#0652FF
ΔE00 5.64
Blue Blue
#2242C7
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4154CE #CEBB41
analogous
#419ACE #4154CE #7441CE
triadic
#4154CE #CE4154 #54CE41
tetradic
#4154CE #CE419A #CEBB41 #41CE74
square
#4154CE #CE419A #CEBB41 #41CE74
split-complementary
#4154CE #CE7441 #9ACE41
monochromatic
#1E2A76 #2B3CA7 #4154CE #7280DB #A2ACE7
Accessibility & contrast
On white
6.21
#4154CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#4154CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4154CE
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4154CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4154CE | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4154ce; /* rgb */ color: rgb(65, 84, 206); /* oklch */ color: oklch(50.5% 0.189 271.2);
Tailwind
colors: {
custom: {
50: '#8784de',
500: '#4154ce',
950: '#000000',
},
}SCSS
$custom: #4154ce; $custom-light: #8784de; $custom-dark: #000000;
JSON
{
"hex": "#4154ce",
"rgb": {
"r": 65,
"g": 84,
"b": 206
},
"hsl": {
"h": 231.915,
"s": 58.996,
"l": 53.137
},
"oklch": {
"l": 0.50494,
"c": 0.1885,
"h": 271.2
},
"luminance": 0.11921
}Semantic roles & 50–950 ramp
primary
#4154CE
secondary
#D4CC97
accent
#CD46E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0A15
muted
#7D7C83