#4159B7#4159B7
#4159B7 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.151 H 269.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4159B7 |
|---|---|
| RGB | rgb(65, 89, 183) |
| HSL | hsl(228, 48%, 49%) |
| HSV | hsv(228, 64%, 72%) |
| CMYK | cmyk(64.5%, 51.4%, 0%, 28.2%) |
| CIE-LAB | lab(40.71, 21.46, -52.61) |
| CIE-LCH | lch(40.71, 56.82, 292.19°) |
| OKLab | oklab(49.69% -0.0014 -0.1509) |
| OKLCH | oklch(49.69% 0.151 269.4) |
| XYZ | xyz(14.2967, 11.6862, 46.2928) |
| Luminance | 0.1169 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.48
Dusky Blue
#475F94
ΔE00 5.51
Denim Blue
#3B5B92
ΔE00 5.54
Warm Blue
#4B57DB
ΔE00 5.57
Denim
#1560BD
ΔE00 5.94
Iris
#6258C4
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4159B7 #B79F41
analogous
#4194B7 #4159B7 #6441B7
triadic
#4159B7 #B74159 #59B741
tetradic
#4159B7 #B74194 #B79F41 #41B764
square
#4159B7 #B74194 #B79F41 #41B764
split-complementary
#4159B7 #B76441 #94B741
monochromatic
#212D5D #31438A #4159B7 #6B7ECA #98A5DA
Accessibility & contrast
On white
6.29
#4159B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#4159B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4159B7
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4159B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4159B7 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2266BA
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4159b7; /* rgb */ color: rgb(65, 89, 183); /* oklch */ color: oklch(49.7% 0.151 269.4);
Tailwind
colors: {
custom: {
50: '#8287cd',
500: '#4159b7',
950: '#000000',
},
}SCSS
$custom: #4159b7; $custom-light: #8287cd; $custom-dark: #000000;
JSON
{
"hex": "#4159b7",
"rgb": {
"r": 65,
"g": 89,
"b": 183
},
"hsl": {
"h": 227.797,
"s": 47.581,
"l": 48.627
},
"oklch": {
"l": 0.49687,
"c": 0.15087,
"h": 269.4
},
"luminance": 0.11687
}Semantic roles & 50–950 ramp
primary
#4159B7
secondary
#C6BB8E
accent
#BC51D7
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B13
muted
#7C7C82