#4151C8#4151C8
#4151C8 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.5% C 0.184 H 272.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #4151C8 |
|---|---|
| RGB | rgb(65, 81, 200) |
| HSL | hsl(233, 55%, 52%) |
| HSV | hsv(233, 68%, 78%) |
| CMYK | cmyk(67.5%, 59.5%, 0%, 21.6%) |
| CIE-LAB | lab(39.88, 32.58, -63.87) |
| CIE-LCH | lch(39.88, 71.70, 297.02°) |
| OKLab | oklab(49.45% 0.0064 -0.1841) |
| OKLCH | oklch(49.45% 0.184 272) |
| XYZ | xyz(15.5442, 11.1774, 55.9707) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.45
Blue Blue
#2242C7
ΔE00 4.79
Blue (survey)
#0343DF
ΔE00 5.09
Iris
#6258C4
ΔE00 5.26
Sapphire
#0F52BA
ΔE00 5.68
Ocean Blue
#4F42B5
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151C8 #C8B841
analogous
#4195C8 #4151C8 #7541C8
triadic
#4151C8 #C84151 #51C841
tetradic
#4151C8 #C84195 #C8B841 #41C875
square
#4151C8 #C84195 #C8B841 #41C875
split-complementary
#4151C8 #C87541 #95C841
monochromatic
#20296F #2E3B9E #4151C8 #707CD6 #A0A8E3
Accessibility & contrast
On white
6.49
#4151C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#4151C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151C8
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151C8 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4151c8; /* rgb */ color: rgb(65, 81, 200); /* oklch */ color: oklch(49.5% 0.184 272.0);
Tailwind
colors: {
custom: {
50: '#8681da',
500: '#4151c8',
950: '#000000',
},
}SCSS
$custom: #4151c8; $custom-light: #8681da; $custom-dark: #000000;
JSON
{
"hex": "#4151c8",
"rgb": {
"r": 65,
"g": 81,
"b": 200
},
"hsl": {
"h": 232.889,
"s": 55.102,
"l": 51.961
},
"oklch": {
"l": 0.49451,
"c": 0.18419,
"h": 272
},
"luminance": 0.11179
}Semantic roles & 50–950 ramp
primary
#4151C8
secondary
#D0C995
accent
#CD49DE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83