#4154C1#4154C1
#4154C1 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.5% C 0.171 H 271.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #4154C1 |
|---|---|
| RGB | rgb(65, 84, 193) |
| HSL | hsl(231, 51%, 51%) |
| HSV | hsv(231, 66%, 76%) |
| CMYK | cmyk(66.3%, 56.5%, 0%, 24.3%) |
| CIE-LAB | lab(40.10, 28.21, -59.44) |
| CIE-LCH | lch(40.10, 65.79, 295.39°) |
| OKLab | oklab(49.45% 0.0038 -0.171) |
| OKLCH | oklch(49.45% 0.171 271.3) |
| XYZ | xyz(14.9727, 11.3133, 51.8364) |
| Luminance | 0.1132 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.05
Sapphire
#0F52BA
ΔE00 4.93
Iris
#6258C4
ΔE00 5.40
Blue Blue
#2242C7
ΔE00 5.63
Blue (survey)
#0343DF
ΔE00 6.22
Azul
#1D5DEC
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4154C1 #C1AE41
analogous
#4194C1 #4154C1 #6E41C1
triadic
#4154C1 #C14154 #54C141
tetradic
#4154C1 #C14194 #C1AE41 #41C16E
square
#4154C1 #C14194 #C1AE41 #41C16E
split-complementary
#4154C1 #C16E41 #94C141
monochromatic
#212C66 #303F94 #4154C1 #6F7ED0 #9DA7DF
Accessibility & contrast
On white
6.44
#4154C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#4154C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4154C1
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4154C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4154C1 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#0059BF
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4154c1; /* rgb */ color: rgb(65, 84, 193); /* oklch */ color: oklch(49.5% 0.171 271.3);
Tailwind
colors: {
custom: {
50: '#8483d4',
500: '#4154c1',
950: '#000000',
},
}SCSS
$custom: #4154c1; $custom-light: #8483d4; $custom-dark: #000000;
JSON
{
"hex": "#4154c1",
"rgb": {
"r": 65,
"g": 84,
"b": 193
},
"hsl": {
"h": 231.094,
"s": 50.794,
"l": 50.588
},
"oklch": {
"l": 0.49452,
"c": 0.17105,
"h": 271.3
},
"luminance": 0.11315
}Semantic roles & 50–950 ramp
primary
#4154C1
secondary
#CBC392
accent
#C54EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83