#4151C7#4151C7
#4151C7 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.4% C 0.183 H 272.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #4151C7 |
|---|---|
| RGB | rgb(65, 81, 199) |
| HSL | hsl(233, 54%, 52%) |
| HSV | hsv(233, 67%, 78%) |
| CMYK | cmyk(67.3%, 59.3%, 0%, 22%) |
| CIE-LAB | lab(39.80, 32.23, -63.42) |
| CIE-LCH | lch(39.80, 71.14, 296.94°) |
| OKLab | oklab(49.37% 0.0064 -0.1827) |
| OKLCH | oklch(49.37% 0.183 272) |
| XYZ | xyz(15.4277, 11.1308, 55.3572) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.56
Blue Blue
#2242C7
ΔE00 4.78
Blue (survey)
#0343DF
ΔE00 5.15
Iris
#6258C4
ΔE00 5.27
Sapphire
#0F52BA
ΔE00 5.62
Ocean Blue
#4F42B5
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151C7 #C7B741
analogous
#4194C7 #4151C7 #7441C7
triadic
#4151C7 #C74151 #51C741
tetradic
#4151C7 #C74194 #C7B741 #41C774
square
#4151C7 #C74194 #C7B741 #41C774
split-complementary
#4151C7 #C77441 #94C741
monochromatic
#20296D #2E3B9D #4151C7 #707CD5 #A0A8E3
Accessibility & contrast
On white
6.51
#4151C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#4151C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151C7
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151C7 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CB
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4151c7; /* rgb */ color: rgb(65, 81, 199); /* oklch */ color: oklch(49.4% 0.183 272.0);
Tailwind
colors: {
custom: {
50: '#8581d9',
500: '#4151c7',
950: '#000000',
},
}SCSS
$custom: #4151c7; $custom-light: #8581d9; $custom-dark: #000000;
JSON
{
"hex": "#4151c7",
"rgb": {
"r": 65,
"g": 81,
"b": 199
},
"hsl": {
"h": 232.836,
"s": 54.472,
"l": 51.765
},
"oklch": {
"l": 0.49369,
"c": 0.18286,
"h": 272
},
"luminance": 0.11132
}Semantic roles & 50–950 ramp
primary
#4151C7
secondary
#CFC895
accent
#CC4ADE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83