#4151C4#4151C4
#4151C4 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.1% C 0.179 H 272.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #4151C4 |
|---|---|
| RGB | rgb(65, 81, 196) |
| HSL | hsl(233, 53%, 51%) |
| HSV | hsv(233, 67%, 77%) |
| CMYK | cmyk(66.8%, 58.7%, 0%, 23.1%) |
| CIE-LAB | lab(39.57, 31.18, -62.05) |
| CIE-LCH | lch(39.57, 69.45, 296.68°) |
| OKLab | oklab(49.13% 0.0064 -0.1787) |
| OKLCH | oklch(49.13% 0.179 272) |
| XYZ | xyz(15.0829, 10.9928, 53.5408) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.90
Blue Blue
#2242C7
ΔE00 4.77
Iris
#6258C4
ΔE00 5.34
Blue (survey)
#0343DF
ΔE00 5.35
Sapphire
#0F52BA
ΔE00 5.42
Ocean Blue
#4F42B5
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151C4 #C4B441
analogous
#4192C4 #4151C4 #7241C4
triadic
#4151C4 #C44151 #51C441
tetradic
#4151C4 #C44192 #C4B441 #41C472
square
#4151C4 #C44192 #C4B441 #41C472
split-complementary
#4151C4 #C47241 #92C441
monochromatic
#212A6A #2F3C98 #4151C4 #707CD3 #9EA7E1
Accessibility & contrast
On white
6.56
#4151C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#4151C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151C4
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151C4 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4151c4; /* rgb */ color: rgb(65, 81, 196); /* oklch */ color: oklch(49.1% 0.179 272.0);
Tailwind
colors: {
custom: {
50: '#8581d7',
500: '#4151c4',
950: '#000000',
},
}SCSS
$custom: #4151c4; $custom-light: #8581d7; $custom-dark: #000000;
JSON
{
"hex": "#4151c4",
"rgb": {
"r": 65,
"g": 81,
"b": 196
},
"hsl": {
"h": 232.672,
"s": 52.61,
"l": 51.176
},
"oklch": {
"l": 0.49125,
"c": 0.17885,
"h": 272
},
"luminance": 0.10994
}Semantic roles & 50–950 ramp
primary
#4151C4
secondary
#CDC693
accent
#CA4CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83