#4156BC#4156BC
#4156BC is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.162 H 270.6°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4156BC |
|---|---|
| RGB | rgb(65, 86, 188) |
| HSL | hsl(230, 49%, 50%) |
| HSV | hsv(230, 65%, 74%) |
| CMYK | cmyk(65.4%, 54.3%, 0%, 26.3%) |
| CIE-LAB | lab(40.26, 25.16, -56.26) |
| CIE-LCH | lch(40.26, 61.63, 294.10°) |
| OKLab | oklab(49.46% 0.0018 -0.1617) |
| OKLCH | oklch(49.46% 0.162 270.6) |
| XYZ | xyz(14.5818, 11.4089, 49.0009) |
| Luminance | 0.1141 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.58
Warm Blue
#4B57DB
ΔE00 4.71
Iris
#6258C4
ΔE00 5.75
Blue Blue
#2242C7
ΔE00 6.36
Azul
#1D5DEC
ΔE00 6.49
Denim Blue
#3B5B92
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4156BC #BCA741
analogous
#4194BC #4156BC #6941BC
triadic
#4156BC #BC4156 #56BC41
tetradic
#4156BC #BC4194 #BCA741 #41BC69
square
#4156BC #BC4194 #BCA741 #41BC69
split-complementary
#4156BC #BC6941 #94BC41
monochromatic
#222C61 #31418F #4156BC #6E7ECD #9BA6DC
Accessibility & contrast
On white
6.40
#4156BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#4156BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4156BC
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4156BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4156BC | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A65C0
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4156bc; /* rgb */ color: rgb(65, 86, 188); /* oklch */ color: oklch(49.5% 0.162 270.6);
Tailwind
colors: {
custom: {
50: '#8385d1',
500: '#4156bc',
950: '#000000',
},
}SCSS
$custom: #4156bc; $custom-light: #8385d1; $custom-dark: #000000;
JSON
{
"hex": "#4156bc",
"rgb": {
"r": 65,
"g": 86,
"b": 188
},
"hsl": {
"h": 229.756,
"s": 48.617,
"l": 49.608
},
"oklch": {
"l": 0.49456,
"c": 0.16167,
"h": 270.6
},
"luminance": 0.1141
}Semantic roles & 50–950 ramp
primary
#4156BC
secondary
#C9BF90
accent
#C150D8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82