#4154C0#4154C0
#4154C0 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.4% C 0.170 H 271.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4154C0 |
|---|---|
| RGB | rgb(65, 84, 192) |
| HSL | hsl(231, 50%, 50%) |
| HSV | hsv(231, 66%, 75%) |
| CMYK | cmyk(66.1%, 56.3%, 0%, 24.7%) |
| CIE-LAB | lab(40.03, 27.86, -58.97) |
| CIE-LCH | lch(40.03, 65.22, 295.29°) |
| OKLab | oklab(49.37% 0.0037 -0.1696) |
| OKLCH | oklch(49.37% 0.17 271.3) |
| XYZ | xyz(14.8615, 11.2689, 51.2509) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.18
Sapphire
#0F52BA
ΔE00 4.88
Iris
#6258C4
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 5.65
Blue (survey)
#0343DF
ΔE00 6.29
Azul
#1D5DEC
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4154C0 #C0AD41
analogous
#4193C0 #4154C0 #6E41C0
triadic
#4154C0 #C04154 #54C041
tetradic
#4154C0 #C04193 #C0AD41 #41C06E
square
#4154C0 #C04193 #C0AD41 #41C06E
split-complementary
#4154C0 #C06E41 #93C041
monochromatic
#222C65 #313F93 #4154C0 #6F7DCF #9DA7DE
Accessibility & contrast
On white
6.45
#4154C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#4154C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4154C0
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4154C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4154C0 | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C4
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#006E82
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4154c0; /* rgb */ color: rgb(65, 84, 192); /* oklch */ color: oklch(49.4% 0.170 271.3);
Tailwind
colors: {
custom: {
50: '#8483d4',
500: '#4154c0',
950: '#000000',
},
}SCSS
$custom: #4154c0; $custom-light: #8483d4; $custom-dark: #000000;
JSON
{
"hex": "#4154c0",
"rgb": {
"r": 65,
"g": 84,
"b": 192
},
"hsl": {
"h": 231.024,
"s": 50.198,
"l": 50.392
},
"oklch": {
"l": 0.49374,
"c": 0.16969,
"h": 271.3
},
"luminance": 0.1127
}Semantic roles & 50–950 ramp
primary
#4154C0
secondary
#CBC292
accent
#C54EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83