#4151BA#4151BA
#4151BA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.165 H 272.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #4151BA |
|---|---|
| RGB | rgb(65, 81, 186) |
| HSL | hsl(232, 48%, 49%) |
| HSV | hsv(232, 65%, 73%) |
| CMYK | cmyk(65.1%, 56.5%, 0%, 27.1%) |
| CIE-LAB | lab(38.82, 27.67, -57.43) |
| CIE-LCH | lch(38.82, 63.75, 295.72°) |
| OKLab | oklab(48.33% 0.0062 -0.1652) |
| OKLCH | oklch(48.33% 0.165 272.1) |
| XYZ | xyz(13.9824, 10.5526, 47.7449) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.97
Blue Blue
#2242C7
ΔE00 5.04
Warm Blue
#4B57DB
ΔE00 5.12
Ocean Blue
#4F42B5
ΔE00 5.65
Iris
#6258C4
ΔE00 5.74
Cobalt
#0047AB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151BA #BAAA41
analogous
#418EBA #4151BA #6E41BA
triadic
#4151BA #BA4151 #51BA41
tetradic
#4151BA #BA418E #BAAA41 #41BA6E
square
#4151BA #BA418E #BAAA41 #41BA6E
split-complementary
#4151BA #BA6E41 #8EBA41
monochromatic
#212A5F #313D8D #4151BA #6C79CC #9AA2DC
Accessibility & contrast
On white
6.75
#4151BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#4151BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151BA
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151BA | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4151ba; /* rgb */ color: rgb(65, 81, 186); /* oklch */ color: oklch(48.3% 0.165 272.1);
Tailwind
colors: {
custom: {
50: '#8381cf',
500: '#4151ba',
950: '#000000',
},
}SCSS
$custom: #4151ba; $custom-light: #8381cf; $custom-dark: #000000;
JSON
{
"hex": "#4151ba",
"rgb": {
"r": 65,
"g": 81,
"b": 186
},
"hsl": {
"h": 232.066,
"s": 48.207,
"l": 49.216
},
"oklch": {
"l": 0.48328,
"c": 0.16528,
"h": 272.1
},
"luminance": 0.10554
}Semantic roles & 50–950 ramp
primary
#4151BA
secondary
#C8C08F
accent
#C650D8
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82