#4155C2#4155C2
#4155C2 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.7% C 0.171 H 271.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4155C2 |
|---|---|
| RGB | rgb(65, 85, 194) |
| HSL | hsl(231, 51%, 51%) |
| HSV | hsv(231, 66%, 76%) |
| CMYK | cmyk(66.5%, 56.2%, 0%, 23.9%) |
| CIE-LAB | lab(40.43, 27.93, -59.48) |
| CIE-LCH | lch(40.43, 65.71, 295.15°) |
| OKLab | oklab(49.72% 0.0029 -0.1711) |
| OKLCH | oklch(49.72% 0.171 271) |
| XYZ | xyz(15.1628, 11.5145, 52.4519) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.90
Sapphire
#0F52BA
ΔE00 4.92
Iris
#6258C4
ΔE00 5.40
Blue Blue
#2242C7
ΔE00 5.90
Azul
#1D5DEC
ΔE00 6.02
Blue (survey)
#0343DF
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4155C2 #C2AE41
analogous
#4195C2 #4155C2 #6D41C2
triadic
#4155C2 #C24155 #55C241
tetradic
#4155C2 #C24195 #C2AE41 #41C26D
square
#4155C2 #C24195 #C2AE41 #41C26D
split-complementary
#4155C2 #C26D41 #95C241
monochromatic
#212C67 #304096 #4155C2 #6F7ED1 #9EA8E0
Accessibility & contrast
On white
6.36
#4155C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#4155C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4155C2
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4155C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4155C2 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4155c2; /* rgb */ color: rgb(65, 85, 194); /* oklch */ color: oklch(49.7% 0.171 271.0);
Tailwind
colors: {
custom: {
50: '#8484d5',
500: '#4155c2',
950: '#000000',
},
}SCSS
$custom: #4155c2; $custom-light: #8484d5; $custom-dark: #000000;
JSON
{
"hex": "#4155c2",
"rgb": {
"r": 65,
"g": 85,
"b": 194
},
"hsl": {
"h": 230.698,
"s": 51.394,
"l": 50.784
},
"oklch": {
"l": 0.49723,
"c": 0.17117,
"h": 271
},
"luminance": 0.11516
}Semantic roles & 50–950 ramp
primary
#4155C2
secondary
#CCC393
accent
#C54DDB
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83