#4159B2#4159B2
#4159B2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.144 H 269.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4159B2 |
|---|---|
| RGB | rgb(65, 89, 178) |
| HSL | hsl(227, 47%, 48%) |
| HSV | hsv(227, 63%, 70%) |
| CMYK | cmyk(63.5%, 50%, 0%, 30.2%) |
| CIE-LAB | lab(40.38, 19.68, -50.21) |
| CIE-LCH | lch(40.38, 53.93, 291.41°) |
| OKLab | oklab(49.33% -0.002 -0.1438) |
| OKLCH | oklch(49.33% 0.144 269.2) |
| XYZ | xyz(13.7855, 11.4817, 43.6006) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.48
Dusky Blue
#475F94
ΔE00 4.92
Denim Blue
#3B5B92
ΔE00 4.93
Denim
#1560BD
ΔE00 5.90
Warm Blue
#4B57DB
ΔE00 6.26
French Blue
#436BAD
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4159B2 #B29A41
analogous
#4191B2 #4159B2 #6241B2
triadic
#4159B2 #B24159 #59B241
tetradic
#4159B2 #B24191 #B29A41 #41B262
square
#4159B2 #B24191 #B29A41 #41B262
split-complementary
#4159B2 #B26241 #91B241
monochromatic
#202C58 #314385 #4159B2 #687DC8 #95A3D8
Accessibility & contrast
On white
6.37
#4159B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#4159B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4159B2
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4159B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4159B2 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2964B5
Deuteranopia (green-blind)
#0D5AB0
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4159b2; /* rgb */ color: rgb(65, 89, 178); /* oklch */ color: oklch(49.3% 0.144 269.2);
Tailwind
colors: {
custom: {
50: '#8187ca',
500: '#4159b2',
950: '#000000',
},
}SCSS
$custom: #4159b2; $custom-light: #8187ca; $custom-dark: #000000;
JSON
{
"hex": "#4159b2",
"rgb": {
"r": 65,
"g": 89,
"b": 178
},
"hsl": {
"h": 227.257,
"s": 46.502,
"l": 47.647
},
"oklch": {
"l": 0.49328,
"c": 0.1438,
"h": 269.2
},
"luminance": 0.11483
}Semantic roles & 50–950 ramp
primary
#4159B2
secondary
#C4B88B
accent
#BA52D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82