#4156CA#4156CA
#4156CA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.5% C 0.181 H 270.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #4156CA |
|---|---|
| RGB | rgb(65, 86, 202) |
| HSL | hsl(231, 56%, 52%) |
| HSV | hsv(231, 68%, 79%) |
| CMYK | cmyk(67.8%, 57.4%, 0%, 20.8%) |
| CIE-LAB | lab(41.28, 30.11, -62.74) |
| CIE-LCH | lch(41.28, 69.60, 295.64°) |
| OKLab | oklab(50.54% 0.0023 -0.1807) |
| OKLCH | oklch(50.54% 0.181 270.7) |
| XYZ | xyz(16.1648, 12.0421, 57.3381) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.88
Azul
#1D5DEC
ΔE00 5.08
Iris
#6258C4
ΔE00 5.24
Sapphire
#0F52BA
ΔE00 5.44
Electric Blue
#0652FF
ΔE00 6.14
Dark Periwinkle
#665FD1
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4156CA #CAB541
analogous
#419BCA #4156CA #7141CA
triadic
#4156CA #CA4156 #56CA41
tetradic
#4156CA #CA419B #CAB541 #41CA71
square
#4156CA #CA419B #CAB541 #41CA71
split-complementary
#4156CA #CA7141 #9BCA41
monochromatic
#202C71 #2D3FA1 #4156CA #7181D7 #A1ABE5
Accessibility & contrast
On white
6.16
#4156CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#4156CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4156CA
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4156CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4156CA | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4156ca; /* rgb */ color: rgb(65, 86, 202); /* oklch */ color: oklch(50.5% 0.181 270.7);
Tailwind
colors: {
custom: {
50: '#8685db',
500: '#4156ca',
950: '#000000',
},
}SCSS
$custom: #4156ca; $custom-light: #8685db; $custom-dark: #000000;
JSON
{
"hex": "#4156ca",
"rgb": {
"r": 65,
"g": 86,
"b": 202
},
"hsl": {
"h": 230.803,
"s": 56.379,
"l": 52.353
},
"oklch": {
"l": 0.50544,
"c": 0.18072,
"h": 270.7
},
"luminance": 0.12044
}Semantic roles & 50–950 ramp
primary
#4156CA
secondary
#D1C896
accent
#C848E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83