#4159C8#4159C8
#4159C8 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.0% C 0.174 H 269.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4159C8 |
|---|---|
| RGB | rgb(65, 89, 200) |
| HSL | hsl(229, 55%, 52%) |
| HSV | hsv(229, 68%, 78%) |
| CMYK | cmyk(67.5%, 55.5%, 0%, 21.6%) |
| CIE-LAB | lab(41.90, 27.49, -60.58) |
| CIE-LCH | lch(41.90, 66.53, 294.41°) |
| OKLab | oklab(50.96% -0.0002 -0.1743) |
| OKLCH | oklch(50.96% 0.174 269.9) |
| XYZ | xyz(16.1741, 12.4372, 56.1806) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.34
Azul
#1D5DEC
ΔE00 4.79
Sapphire
#0F52BA
ΔE00 5.28
Iris
#6258C4
ΔE00 5.54
Dark Periwinkle
#665FD1
ΔE00 6.14
Royal Blue
#4169E1
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4159C8 #C8B041
analogous
#419DC8 #4159C8 #6C41C8
triadic
#4159C8 #C84159 #59C841
tetradic
#4159C8 #C8419D #C8B041 #41C86C
square
#4159C8 #C8419D #C8B041 #41C86C
split-complementary
#4159C8 #C86C41 #9DC841
monochromatic
#202E6F #2E429E #4159C8 #7082D6 #A0ACE3
Accessibility & contrast
On white
6.02
#4159C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#4159C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4159C8
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4159C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4159C8 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4159c8; /* rgb */ color: rgb(65, 89, 200); /* oklch */ color: oklch(51.0% 0.174 269.9);
Tailwind
colors: {
custom: {
50: '#8587d9',
500: '#4159c8',
950: '#000000',
},
}SCSS
$custom: #4159c8; $custom-light: #8587d9; $custom-dark: #000000;
JSON
{
"hex": "#4159c8",
"rgb": {
"r": 65,
"g": 89,
"b": 200
},
"hsl": {
"h": 229.333,
"s": 55.102,
"l": 51.961
},
"oklch": {
"l": 0.50961,
"c": 0.17431,
"h": 269.9
},
"luminance": 0.12439
}Semantic roles & 50–950 ramp
primary
#4159C8
secondary
#D0C595
accent
#C449DE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83