#4157CE#4157CE
#4157CE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.185 H 270.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #4157CE |
|---|---|
| RGB | rgb(65, 87, 206) |
| HSL | hsl(231, 59%, 53%) |
| HSV | hsv(231, 68%, 81%) |
| CMYK | cmyk(68.4%, 57.8%, 0%, 19.2%) |
| CIE-LAB | lab(41.84, 30.89, -64.15) |
| CIE-LCH | lch(41.84, 71.20, 295.71°) |
| OKLab | oklab(51.05% 0.0016 -0.1848) |
| OKLCH | oklch(51.05% 0.185 270.5) |
| XYZ | xyz(16.7250, 12.3948, 59.8916) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.43
Azul
#1D5DEC
ΔE00 4.55
Iris
#6258C4
ΔE00 5.27
Electric Blue
#0652FF
ΔE00 5.68
Sapphire
#0F52BA
ΔE00 5.76
Dark Periwinkle
#665FD1
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4157CE #CEB841
analogous
#419ECE #4157CE #7141CE
triadic
#4157CE #CE4157 #57CE41
tetradic
#4157CE #CE419E #CEB841 #41CE71
square
#4157CE #CE419E #CEB841 #41CE71
split-complementary
#4157CE #CE7141 #9ECE41
monochromatic
#1E2C76 #2B3EA7 #4157CE #7282DB #A2ADE7
Accessibility & contrast
On white
6.04
#4157CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#4157CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4157CE
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4157CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4157CE | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4157ce; /* rgb */ color: rgb(65, 87, 206); /* oklch */ color: oklch(51.1% 0.185 270.5);
Tailwind
colors: {
custom: {
50: '#8686de',
500: '#4157ce',
950: '#000000',
},
}SCSS
$custom: #4157ce; $custom-light: #8686de; $custom-dark: #000000;
JSON
{
"hex": "#4157ce",
"rgb": {
"r": 65,
"g": 87,
"b": 206
},
"hsl": {
"h": 230.638,
"s": 58.996,
"l": 53.137
},
"oklch": {
"l": 0.51052,
"c": 0.18485,
"h": 270.5
},
"luminance": 0.12396
}Semantic roles & 50–950 ramp
primary
#4157CE
secondary
#D4CA97
accent
#CA46E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83