#4151BB#4151BB
#4151BB is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.4% C 0.167 H 272.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #4151BB |
|---|---|
| RGB | rgb(65, 81, 187) |
| HSL | hsl(232, 48%, 49%) |
| HSV | hsv(232, 65%, 73%) |
| CMYK | cmyk(65.2%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(38.89, 28.02, -57.90) |
| CIE-LCH | lch(38.89, 64.32, 295.82°) |
| OKLab | oklab(48.41% 0.0062 -0.1665) |
| OKLCH | oklch(48.41% 0.167 272.1) |
| XYZ | xyz(14.0890, 10.5953, 48.3067) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 4.99
Warm Blue
#4B57DB
ΔE00 4.99
Sapphire
#0F52BA
ΔE00 4.99
Ocean Blue
#4F42B5
ΔE00 5.64
Iris
#6258C4
ΔE00 5.69
Blue (survey)
#0343DF
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151BB #BBAB41
analogous
#418EBB #4151BB #6E41BB
triadic
#4151BB #BB4151 #51BB41
tetradic
#4151BB #BB418E #BBAB41 #41BB6E
square
#4151BB #BB418E #BBAB41 #41BB6E
split-complementary
#4151BB #BB6E41 #8EBB41
monochromatic
#212A60 #313D8E #4151BB #6D79CC #9AA3DC
Accessibility & contrast
On white
6.73
#4151BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#4151BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151BB
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151BB | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #4151bb; /* rgb */ color: rgb(65, 81, 187); /* oklch */ color: oklch(48.4% 0.167 272.1);
Tailwind
colors: {
custom: {
50: '#8381d0',
500: '#4151bb',
950: '#000000',
},
}SCSS
$custom: #4151bb; $custom-light: #8381d0; $custom-dark: #000000;
JSON
{
"hex": "#4151bb",
"rgb": {
"r": 65,
"g": 81,
"b": 187
},
"hsl": {
"h": 232.131,
"s": 48.413,
"l": 49.412
},
"oklch": {
"l": 0.48406,
"c": 0.16665,
"h": 272.1
},
"luminance": 0.10597
}Semantic roles & 50–950 ramp
primary
#4151BB
secondary
#C8C190
accent
#C650D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82