#4151B0#4151B0
#4151B0 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.6% C 0.151 H 272.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4151B0 |
|---|---|
| RGB | rgb(65, 81, 176) |
| HSL | hsl(231, 46%, 47%) |
| HSV | hsv(231, 63%, 69%) |
| CMYK | cmyk(63.1%, 54%, 0%, 31%) |
| CIE-LAB | lab(38.10, 24.15, -52.71) |
| CIE-LCH | lch(38.10, 57.98, 294.62°) |
| OKLab | oklab(47.56% 0.0057 -0.1513) |
| OKLCH | oklch(47.56% 0.151 272.2) |
| XYZ | xyz(12.9563, 10.1422, 42.3407) |
| Luminance | 0.1014 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.90
Cobalt
#0047AB
ΔE00 5.72
Blue Blue
#2242C7
ΔE00 5.72
Ocean Blue
#4F42B5
ΔE00 5.97
Denim Blue
#3B5B92
ΔE00 6.38
Iris
#6258C4
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151B0 #B0A041
analogous
#4189B0 #4151B0 #6841B0
triadic
#4151B0 #B04151 #51B041
tetradic
#4151B0 #B04189 #B0A041 #41B068
square
#4151B0 #B04189 #B0A041 #41B068
split-complementary
#4151B0 #B06841 #89B041
monochromatic
#202857 #303C83 #4151B0 #6775C7 #949ED7
Accessibility & contrast
On white
6.93
#4151B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#4151B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151B0
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151B0 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#115FB3
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #4151b0; /* rgb */ color: rgb(65, 81, 176); /* oklch */ color: oklch(47.6% 0.151 272.2);
Tailwind
colors: {
custom: {
50: '#8181c8',
500: '#4151b0',
950: '#000000',
},
}SCSS
$custom: #4151b0; $custom-light: #8181c8; $custom-dark: #000000;
JSON
{
"hex": "#4151b0",
"rgb": {
"r": 65,
"g": 81,
"b": 176
},
"hsl": {
"h": 231.351,
"s": 46.058,
"l": 47.255
},
"oklch": {
"l": 0.4756,
"c": 0.15137,
"h": 272.2
},
"luminance": 0.10143
}Semantic roles & 50–950 ramp
primary
#4151B0
secondary
#C3BB8A
accent
#C352D6
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82