#4151BE#4151BE
#4151BE is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.6% C 0.171 H 272.1°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #4151BE |
|---|---|
| RGB | rgb(65, 81, 190) |
| HSL | hsl(232, 49%, 50%) |
| HSV | hsv(232, 66%, 75%) |
| CMYK | cmyk(65.8%, 57.4%, 0%, 25.5%) |
| CIE-LAB | lab(39.11, 29.07, -59.29) |
| CIE-LCH | lch(39.11, 66.04, 296.12°) |
| OKLab | oklab(48.64% 0.0063 -0.1706) |
| OKLCH | oklch(48.64% 0.171 272.1) |
| XYZ | xyz(14.4135, 10.7251, 50.0158) |
| Luminance | 0.1073 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.62
Blue Blue
#2242C7
ΔE00 4.88
Sapphire
#0F52BA
ΔE00 5.11
Iris
#6258C4
ΔE00 5.55
Ocean Blue
#4F42B5
ΔE00 5.63
Blue (survey)
#0343DF
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151BE #BEAE41
analogous
#4190BE #4151BE #6F41BE
triadic
#4151BE #BE4151 #51BE41
tetradic
#4151BE #BE4190 #BEAE41 #41BE6F
square
#4151BE #BE4190 #BEAE41 #41BE6F
split-complementary
#4151BE #BE6F41 #90BE41
monochromatic
#222A63 #313E90 #4151BE #6F7BCE #9CA5DD
Accessibility & contrast
On white
6.68
#4151BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#4151BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151BE
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151BE | 1.00 | 6.68 | 3.15 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4151be; /* rgb */ color: rgb(65, 81, 190); /* oklch */ color: oklch(48.6% 0.171 272.1);
Tailwind
colors: {
custom: {
50: '#8481d2',
500: '#4151be',
950: '#000000',
},
}SCSS
$custom: #4151be; $custom-light: #8481d2; $custom-dark: #000000;
JSON
{
"hex": "#4151be",
"rgb": {
"r": 65,
"g": 81,
"b": 190
},
"hsl": {
"h": 232.32,
"s": 49.02,
"l": 50
},
"oklch": {
"l": 0.48643,
"c": 0.17075,
"h": 272.1
},
"luminance": 0.10726
}Semantic roles & 50–950 ramp
primary
#4151BE
secondary
#C9C291
accent
#C74FD9
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83