#4157BE#4157BE
#4157BE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.163 H 270.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #4157BE |
|---|---|
| RGB | rgb(65, 87, 190) |
| HSL | hsl(229, 49%, 50%) |
| HSV | hsv(229, 66%, 75%) |
| CMYK | cmyk(65.8%, 54.2%, 0%, 25.5%) |
| CIE-LAB | lab(40.67, 25.23, -56.78) |
| CIE-LCH | lch(40.67, 62.13, 293.96°) |
| OKLab | oklab(49.81% 0.001 -0.1631) |
| OKLCH | oklch(49.81% 0.163 270.3) |
| XYZ | xyz(14.8793, 11.6566, 50.1710) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.48
Sapphire
#0F52BA
ΔE00 4.64
Iris
#6258C4
ΔE00 5.72
Azul
#1D5DEC
ΔE00 6.13
Blue Blue
#2242C7
ΔE00 6.59
Denim
#1560BD
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4157BE #BEA841
analogous
#4196BE #4157BE #6941BE
triadic
#4157BE #BE4157 #57BE41
tetradic
#4157BE #BE4196 #BEA841 #41BE69
square
#4157BE #BE4196 #BEA841 #41BE69
split-complementary
#4157BE #BE6941 #96BE41
monochromatic
#222D63 #314290 #4157BE #6F7FCE #9CA8DD
Accessibility & contrast
On white
6.30
#4157BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#4157BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4157BE
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4157BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4157BE | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0966C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4157be; /* rgb */ color: rgb(65, 87, 190); /* oklch */ color: oklch(49.8% 0.163 270.3);
Tailwind
colors: {
custom: {
50: '#8386d2',
500: '#4157be',
950: '#000000',
},
}SCSS
$custom: #4157be; $custom-light: #8386d2; $custom-dark: #000000;
JSON
{
"hex": "#4157be",
"rgb": {
"r": 65,
"g": 87,
"b": 190
},
"hsl": {
"h": 229.44,
"s": 49.02,
"l": 50
},
"oklch": {
"l": 0.49805,
"c": 0.16315,
"h": 270.3
},
"luminance": 0.11658
}Semantic roles & 50–950 ramp
primary
#4157BE
secondary
#C9C091
accent
#C04FD9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83