#4154C2#4154C2
#4154C2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.172 H 271.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #4154C2 |
|---|---|
| RGB | rgb(65, 84, 194) |
| HSL | hsl(231, 51%, 51%) |
| HSV | hsv(231, 66%, 76%) |
| CMYK | cmyk(66.5%, 56.7%, 0%, 23.9%) |
| CIE-LAB | lab(40.18, 28.57, -59.90) |
| CIE-LCH | lch(40.18, 66.36, 295.50°) |
| OKLab | oklab(49.53% 0.0038 -0.1724) |
| OKLCH | oklch(49.53% 0.172 271.3) |
| XYZ | xyz(15.0846, 11.3581, 52.4259) |
| Luminance | 0.1136 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.92
Sapphire
#0F52BA
ΔE00 4.99
Iris
#6258C4
ΔE00 5.36
Blue Blue
#2242C7
ΔE00 5.61
Blue (survey)
#0343DF
ΔE00 6.14
Azul
#1D5DEC
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4154C2 #C2AF41
analogous
#4194C2 #4154C2 #6E41C2
triadic
#4154C2 #C24154 #54C241
tetradic
#4154C2 #C24194 #C2AF41 #41C26E
square
#4154C2 #C24194 #C2AF41 #41C26E
split-complementary
#4154C2 #C26E41 #94C241
monochromatic
#212C67 #303F96 #4154C2 #6F7ED1 #9EA7E0
Accessibility & contrast
On white
6.42
#4154C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#4154C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4154C2
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4154C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4154C2 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0059C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4154c2; /* rgb */ color: rgb(65, 84, 194); /* oklch */ color: oklch(49.5% 0.172 271.3);
Tailwind
colors: {
custom: {
50: '#8483d5',
500: '#4154c2',
950: '#000000',
},
}SCSS
$custom: #4154c2; $custom-light: #8483d5; $custom-dark: #000000;
JSON
{
"hex": "#4154c2",
"rgb": {
"r": 65,
"g": 84,
"b": 194
},
"hsl": {
"h": 231.163,
"s": 51.394,
"l": 50.784
},
"oklch": {
"l": 0.49531,
"c": 0.17241,
"h": 271.3
},
"luminance": 0.1136
}Semantic roles & 50–950 ramp
primary
#4154C2
secondary
#CCC493
accent
#C64DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83