#4155C1#4155C1
#4155C1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.6% C 0.170 H 271.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4155C1 |
|---|---|
| RGB | rgb(65, 85, 193) |
| HSL | hsl(231, 51%, 51%) |
| HSV | hsv(231, 66%, 76%) |
| CMYK | cmyk(66.3%, 56%, 0%, 24.3%) |
| CIE-LAB | lab(40.36, 27.57, -59.02) |
| CIE-LCH | lch(40.36, 65.14, 295.04°) |
| OKLab | oklab(49.65% 0.0029 -0.1698) |
| OKLCH | oklch(49.65% 0.17 271) |
| XYZ | xyz(15.0509, 11.4697, 51.8624) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.03
Sapphire
#0F52BA
ΔE00 4.86
Iris
#6258C4
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 5.92
Azul
#1D5DEC
ΔE00 6.12
Blue (survey)
#0343DF
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4155C1 #C1AD41
analogous
#4195C1 #4155C1 #6D41C1
triadic
#4155C1 #C14155 #55C141
tetradic
#4155C1 #C14195 #C1AD41 #41C16D
square
#4155C1 #C14195 #C1AD41 #41C16D
split-complementary
#4155C1 #C16D41 #95C141
monochromatic
#212C66 #304094 #4155C1 #6F7ED0 #9DA8DF
Accessibility & contrast
On white
6.37
#4155C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#4155C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4155C1
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4155C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4155C1 | 1.00 | 6.37 | 3.29 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4155c1; /* rgb */ color: rgb(65, 85, 193); /* oklch */ color: oklch(49.6% 0.170 271.0);
Tailwind
colors: {
custom: {
50: '#8484d4',
500: '#4155c1',
950: '#000000',
},
}SCSS
$custom: #4155c1; $custom-light: #8484d4; $custom-dark: #000000;
JSON
{
"hex": "#4155c1",
"rgb": {
"r": 65,
"g": 85,
"b": 193
},
"hsl": {
"h": 230.625,
"s": 50.794,
"l": 50.588
},
"oklch": {
"l": 0.49645,
"c": 0.16979,
"h": 271
},
"luminance": 0.11471
}Semantic roles & 50–950 ramp
primary
#4155C1
secondary
#CBC292
accent
#C44EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83