#4156BB#4156BB
#4156BB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.4% C 0.160 H 270.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #4156BB |
|---|---|
| RGB | rgb(65, 86, 187) |
| HSL | hsl(230, 48%, 49%) |
| HSV | hsv(230, 65%, 73%) |
| CMYK | cmyk(65.2%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(40.19, 24.81, -55.79) |
| CIE-LCH | lch(40.19, 61.06, 293.97°) |
| OKLab | oklab(49.38% 0.0017 -0.1603) |
| OKLCH | oklch(49.38% 0.16 270.6) |
| XYZ | xyz(14.4744, 11.3659, 48.4351) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.55
Warm Blue
#4B57DB
ΔE00 4.85
Iris
#6258C4
ΔE00 5.81
Blue Blue
#2242C7
ΔE00 6.39
Denim Blue
#3B5B92
ΔE00 6.47
Dusky Blue
#475F94
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4156BB #BBA641
analogous
#4193BB #4156BB #6941BB
triadic
#4156BB #BB4156 #56BB41
tetradic
#4156BB #BB4193 #BBA641 #41BB69
square
#4156BB #BB4193 #BBA641 #41BB69
split-complementary
#4156BB #BB6941 #93BB41
monochromatic
#212C60 #31418E #4156BB #6D7DCC #9AA6DC
Accessibility & contrast
On white
6.42
#4156BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#4156BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4156BB
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4156BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4156BB | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D64BF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4156bb; /* rgb */ color: rgb(65, 86, 187); /* oklch */ color: oklch(49.4% 0.160 270.6);
Tailwind
colors: {
custom: {
50: '#8385d0',
500: '#4156bb',
950: '#000000',
},
}SCSS
$custom: #4156bb; $custom-light: #8385d0; $custom-dark: #000000;
JSON
{
"hex": "#4156bb",
"rgb": {
"r": 65,
"g": 86,
"b": 187
},
"hsl": {
"h": 229.672,
"s": 48.413,
"l": 49.412
},
"oklch": {
"l": 0.4938,
"c": 0.16028,
"h": 270.6
},
"luminance": 0.11367
}Semantic roles & 50–950 ramp
primary
#4156BB
secondary
#C8BE90
accent
#C150D8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82