#4156C7#4156C7
#4156C7 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.3% C 0.177 H 270.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4156C7 |
|---|---|
| RGB | rgb(65, 86, 199) |
| HSL | hsl(231, 54%, 52%) |
| HSV | hsv(231, 67%, 78%) |
| CMYK | cmyk(67.3%, 56.8%, 0%, 22%) |
| CIE-LAB | lab(41.06, 29.05, -61.37) |
| CIE-LCH | lch(41.06, 67.90, 295.33°) |
| OKLab | oklab(50.31% 0.0023 -0.1767) |
| OKLCH | oklch(50.31% 0.177 270.7) |
| XYZ | xyz(15.8131, 11.9014, 55.4856) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.26
Sapphire
#0F52BA
ΔE00 5.21
Iris
#6258C4
ΔE00 5.29
Azul
#1D5DEC
ΔE00 5.36
Blue Blue
#2242C7
ΔE00 6.16
Dark Periwinkle
#665FD1
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4156C7 #C7B241
analogous
#4199C7 #4156C7 #6F41C7
triadic
#4156C7 #C74156 #56C741
tetradic
#4156C7 #C74199 #C7B241 #41C76F
square
#4156C7 #C74199 #C7B241 #41C76F
split-complementary
#4156C7 #C76F41 #99C741
monochromatic
#202C6D #2E3F9D #4156C7 #7080D5 #A0AAE3
Accessibility & contrast
On white
6.21
#4156C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#4156C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4156C7
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4156C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4156C7 | 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)
#0067CB
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4156c7; /* rgb */ color: rgb(65, 86, 199); /* oklch */ color: oklch(50.3% 0.177 270.7);
Tailwind
colors: {
custom: {
50: '#8585d9',
500: '#4156c7',
950: '#000000',
},
}SCSS
$custom: #4156c7; $custom-light: #8585d9; $custom-dark: #000000;
JSON
{
"hex": "#4156c7",
"rgb": {
"r": 65,
"g": 86,
"b": 199
},
"hsl": {
"h": 230.597,
"s": 54.472,
"l": 51.765
},
"oklch": {
"l": 0.50307,
"c": 0.17669,
"h": 270.7
},
"luminance": 0.11903
}Semantic roles & 50–950 ramp
primary
#4156C7
secondary
#CFC695
accent
#C74ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83