#4151B9#4151B9
#4151B9 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.3% C 0.164 H 272.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #4151B9 |
|---|---|
| RGB | rgb(65, 81, 185) |
| HSL | hsl(232, 48%, 49%) |
| HSV | hsv(232, 65%, 73%) |
| CMYK | cmyk(64.9%, 56.2%, 0%, 27.5%) |
| CIE-LAB | lab(38.74, 27.32, -56.97) |
| CIE-LCH | lch(38.74, 63.18, 295.62°) |
| OKLab | oklab(48.25% 0.0062 -0.1638) |
| OKLCH | oklch(48.25% 0.164 272.2) |
| XYZ | xyz(13.8764, 10.5102, 47.1869) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.94
Blue Blue
#2242C7
ΔE00 5.09
Warm Blue
#4B57DB
ΔE00 5.25
Ocean Blue
#4F42B5
ΔE00 5.66
Iris
#6258C4
ΔE00 5.80
Cobalt
#0047AB
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151B9 #B9A941
analogous
#418DB9 #4151B9 #6D41B9
triadic
#4151B9 #B94151 #51B941
tetradic
#4151B9 #B9418D #B9A941 #41B96D
square
#4151B9 #B9418D #B9A941 #41B96D
split-complementary
#4151B9 #B96D41 #8DB941
monochromatic
#21295E #313D8C #4151B9 #6C79CB #99A2DB
Accessibility & contrast
On white
6.77
#4151B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#4151B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151B9
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151B9 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4151b9; /* rgb */ color: rgb(65, 81, 185); /* oklch */ color: oklch(48.3% 0.164 272.2);
Tailwind
colors: {
custom: {
50: '#8381cf',
500: '#4151b9',
950: '#000000',
},
}SCSS
$custom: #4151b9; $custom-light: #8381cf; $custom-dark: #000000;
JSON
{
"hex": "#4151b9",
"rgb": {
"r": 65,
"g": 81,
"b": 185
},
"hsl": {
"h": 232,
"s": 48,
"l": 49.02
},
"oklch": {
"l": 0.4825,
"c": 0.1639,
"h": 272.2
},
"luminance": 0.10511
}Semantic roles & 50–950 ramp
primary
#4151B9
secondary
#C7C08F
accent
#C650D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82