#4159CB#4159CB
#4159CB is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.2% C 0.178 H 270.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4159CB |
|---|---|
| RGB | rgb(65, 89, 203) |
| HSL | hsl(230, 57%, 53%) |
| HSV | hsv(230, 68%, 80%) |
| CMYK | cmyk(68%, 56.2%, 0%, 20.4%) |
| CIE-LAB | lab(42.12, 28.56, -61.96) |
| CIE-LCH | lch(42.12, 68.22, 294.75°) |
| OKLab | oklab(51.19% -0.0001 -0.1784) |
| OKLCH | oklch(51.19% 0.178 270) |
| XYZ | xyz(16.5282, 12.5788, 58.0452) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.97
Azul
#1D5DEC
ΔE00 4.49
Iris
#6258C4
ΔE00 5.48
Sapphire
#0F52BA
ΔE00 5.52
Dark Periwinkle
#665FD1
ΔE00 5.96
Royal Blue
#4169E1
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4159CB #CBB341
analogous
#419ECB #4159CB #6E41CB
triadic
#4159CB #CB4159 #59CB41
tetradic
#4159CB #CB419E #CBB341 #41CB6E
square
#4159CB #CB419E #CBB341 #41CB6E
split-complementary
#4159CB #CB6E41 #9ECB41
monochromatic
#1F2E72 #2C41A2 #4159CB #7183D8 #A1ADE5
Accessibility & contrast
On white
5.97
#4159CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#4159CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4159CB
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4159CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4159CB | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4159cb; /* rgb */ color: rgb(65, 89, 203); /* oklch */ color: oklch(51.2% 0.178 270.0);
Tailwind
colors: {
custom: {
50: '#8687dc',
500: '#4159cb',
950: '#000000',
},
}SCSS
$custom: #4159cb; $custom-light: #8687dc; $custom-dark: #000000;
JSON
{
"hex": "#4159cb",
"rgb": {
"r": 65,
"g": 89,
"b": 203
},
"hsl": {
"h": 229.565,
"s": 57.025,
"l": 52.549
},
"oklch": {
"l": 0.51194,
"c": 0.17837,
"h": 270
},
"luminance": 0.1258
}Semantic roles & 50–950 ramp
primary
#4159CB
secondary
#D2C796
accent
#C648E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83