#4159C7#4159C7
#4159C7 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.173 H 269.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #4159C7 |
|---|---|
| RGB | rgb(65, 89, 199) |
| HSL | hsl(229, 54%, 52%) |
| HSV | hsv(229, 67%, 78%) |
| CMYK | cmyk(67.3%, 55.3%, 0%, 22%) |
| CIE-LAB | lab(41.83, 27.14, -60.12) |
| CIE-LCH | lch(41.83, 65.96, 294.30°) |
| OKLab | oklab(50.88% -0.0003 -0.173) |
| OKLCH | oklch(50.88% 0.173 269.9) |
| XYZ | xyz(16.0576, 12.3906, 55.5671) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.46
Azul
#1D5DEC
ΔE00 4.89
Sapphire
#0F52BA
ΔE00 5.21
Iris
#6258C4
ΔE00 5.56
Dark Periwinkle
#665FD1
ΔE00 6.20
Royal Blue
#4169E1
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4159C7 #C7AF41
analogous
#419CC7 #4159C7 #6C41C7
triadic
#4159C7 #C74159 #59C741
tetradic
#4159C7 #C7419C #C7AF41 #41C76C
square
#4159C7 #C7419C #C7AF41 #41C76C
split-complementary
#4159C7 #C76C41 #9CC741
monochromatic
#202E6D #2E429D #4159C7 #7082D5 #A0ACE3
Accessibility & contrast
On white
6.04
#4159C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#4159C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4159C7
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4159C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4159C7 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#007487
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4159c7; /* rgb */ color: rgb(65, 89, 199); /* oklch */ color: oklch(50.9% 0.173 269.9);
Tailwind
colors: {
custom: {
50: '#8587d9',
500: '#4159c7',
950: '#000000',
},
}SCSS
$custom: #4159c7; $custom-light: #8587d9; $custom-dark: #000000;
JSON
{
"hex": "#4159c7",
"rgb": {
"r": 65,
"g": 89,
"b": 199
},
"hsl": {
"h": 229.254,
"s": 54.472,
"l": 51.765
},
"oklch": {
"l": 0.50884,
"c": 0.17296,
"h": 269.9
},
"luminance": 0.12392
}Semantic roles & 50–950 ramp
primary
#4159C7
secondary
#CFC595
accent
#C34ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83