#4156CE#4156CE
#4156CE is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.186 H 270.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #4156CE |
|---|---|
| RGB | rgb(65, 86, 206) |
| HSL | hsl(231, 59%, 53%) |
| HSV | hsv(231, 68%, 81%) |
| CMYK | cmyk(68.4%, 58.3%, 0%, 19.2%) |
| CIE-LAB | lab(41.59, 31.52, -64.56) |
| CIE-LCH | lch(41.59, 71.84, 296.02°) |
| OKLab | oklab(50.87% 0.0024 -0.186) |
| OKLCH | oklch(50.87% 0.186 270.7) |
| XYZ | xyz(16.6446, 12.2340, 59.8648) |
| Luminance | 0.1224 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.39
Azul
#1D5DEC
ΔE00 4.74
Iris
#6258C4
ΔE00 5.21
Electric Blue
#0652FF
ΔE00 5.65
Sapphire
#0F52BA
ΔE00 5.78
Dark Periwinkle
#665FD1
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4156CE #CEB941
analogous
#419CCE #4156CE #7241CE
triadic
#4156CE #CE4156 #56CE41
tetradic
#4156CE #CE419C #CEB941 #41CE72
square
#4156CE #CE419C #CEB941 #41CE72
split-complementary
#4156CE #CE7241 #9CCE41
monochromatic
#1E2C76 #2B3DA7 #4156CE #7281DB #A2ADE7
Accessibility & contrast
On white
6.09
#4156CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#4156CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4156CE
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4156CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4156CE | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4156ce; /* rgb */ color: rgb(65, 86, 206); /* oklch */ color: oklch(50.9% 0.186 270.7);
Tailwind
colors: {
custom: {
50: '#8685de',
500: '#4156ce',
950: '#000000',
},
}SCSS
$custom: #4156ce; $custom-light: #8685de; $custom-dark: #000000;
JSON
{
"hex": "#4156ce",
"rgb": {
"r": 65,
"g": 86,
"b": 206
},
"hsl": {
"h": 231.064,
"s": 58.996,
"l": 53.137
},
"oklch": {
"l": 0.50865,
"c": 0.18607,
"h": 270.7
},
"luminance": 0.12236
}Semantic roles & 50–950 ramp
primary
#4156CE
secondary
#D4CB97
accent
#CB46E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83