#4159BF#4159BF
#4159BF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.3% C 0.162 H 269.7°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4159BF |
|---|---|
| RGB | rgb(65, 89, 191) |
| HSL | hsl(229, 50%, 50%) |
| HSV | hsv(229, 66%, 75%) |
| CMYK | cmyk(66%, 53.4%, 0%, 25.1%) |
| CIE-LAB | lab(41.26, 24.30, -56.39) |
| CIE-LCH | lch(41.26, 61.41, 293.31°) |
| OKLab | oklab(50.28% -0.0008 -0.162) |
| OKLCH | oklch(50.28% 0.162 269.7) |
| XYZ | xyz(15.1531, 12.0288, 50.8033) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.50
Sapphire
#0F52BA
ΔE00 4.72
Azul
#1D5DEC
ΔE00 5.77
Iris
#6258C4
ΔE00 5.89
Denim
#1560BD
ΔE00 6.15
Dusky Blue
#475F94
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4159BF #BFA741
analogous
#4198BF #4159BF #6841BF
triadic
#4159BF #BF4159 #59BF41
tetradic
#4159BF #BF4198 #BFA741 #41BF68
square
#4159BF #BF4198 #BFA741 #41BF68
split-complementary
#4159BF #BF6841 #98BF41
monochromatic
#222E64 #314392 #4159BF #6F81CE #9DA9DE
Accessibility & contrast
On white
6.17
#4159BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#4159BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4159BF
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4159BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4159BF | 1.00 | 6.17 | 3.41 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1367C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#007183
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4159bf; /* rgb */ color: rgb(65, 89, 191); /* oklch */ color: oklch(50.3% 0.162 269.7);
Tailwind
colors: {
custom: {
50: '#8387d3',
500: '#4159bf',
950: '#000000',
},
}SCSS
$custom: #4159bf; $custom-light: #8387d3; $custom-dark: #000000;
JSON
{
"hex": "#4159bf",
"rgb": {
"r": 65,
"g": 89,
"b": 191
},
"hsl": {
"h": 228.571,
"s": 49.606,
"l": 50.196
},
"oklch": {
"l": 0.50276,
"c": 0.162,
"h": 269.7
},
"luminance": 0.1203
}Semantic roles & 50–950 ramp
primary
#4159BF
secondary
#CABF92
accent
#BF4FD9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83