#4151C3#4151C3
#4151C3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.177 H 272.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #4151C3 |
|---|---|
| RGB | rgb(65, 81, 195) |
| HSL | hsl(233, 52%, 51%) |
| HSV | hsv(233, 67%, 76%) |
| CMYK | cmyk(66.7%, 58.5%, 0%, 23.5%) |
| CIE-LAB | lab(39.49, 30.83, -61.60) |
| CIE-LCH | lch(39.49, 68.88, 296.59°) |
| OKLab | oklab(49.04% 0.0064 -0.1774) |
| OKLCH | oklch(49.04% 0.178 272.1) |
| XYZ | xyz(14.9694, 10.9474, 52.9434) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.02
Blue Blue
#2242C7
ΔE00 4.78
Sapphire
#0F52BA
ΔE00 5.36
Iris
#6258C4
ΔE00 5.36
Blue (survey)
#0343DF
ΔE00 5.42
Ocean Blue
#4F42B5
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151C3 #C3B341
analogous
#4192C3 #4151C3 #7241C3
triadic
#4151C3 #C34151 #51C341
tetradic
#4151C3 #C34192 #C3B341 #41C372
square
#4151C3 #C34192 #C3B341 #41C372
split-complementary
#4151C3 #C37241 #92C341
monochromatic
#212A69 #303C97 #4151C3 #707CD2 #9EA6E0
Accessibility & contrast
On white
6.58
#4151C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#4151C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151C3
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151C3 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#0057C1
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4151c3; /* rgb */ color: rgb(65, 81, 195); /* oklch */ color: oklch(49.0% 0.177 272.1);
Tailwind
colors: {
custom: {
50: '#8581d6',
500: '#4151c3',
950: '#000000',
},
}SCSS
$custom: #4151c3; $custom-light: #8581d6; $custom-dark: #000000;
JSON
{
"hex": "#4151c3",
"rgb": {
"r": 65,
"g": 81,
"b": 195
},
"hsl": {
"h": 232.615,
"s": 52,
"l": 50.98
},
"oklch": {
"l": 0.49044,
"c": 0.1775,
"h": 272.1
},
"luminance": 0.10949
}Semantic roles & 50–950 ramp
primary
#4151C3
secondary
#CDC693
accent
#CA4CDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83