#4151AD#4151AD
#4151AD is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.147 H 272.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #4151AD |
|---|---|
| RGB | rgb(65, 81, 173) |
| HSL | hsl(231, 45%, 47%) |
| HSV | hsv(231, 62%, 68%) |
| CMYK | cmyk(62.4%, 53.2%, 0%, 32.2%) |
| CIE-LAB | lab(37.89, 23.10, -51.27) |
| CIE-LCH | lch(37.89, 56.24, 294.25°) |
| OKLab | oklab(47.34% 0.0055 -0.147) |
| OKLCH | oklch(47.34% 0.147 272.2) |
| XYZ | xyz(12.6627, 10.0248, 40.7947) |
| Luminance | 0.1003 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.96
Cobalt
#0047AB
ΔE00 5.65
Blue Blue
#2242C7
ΔE00 5.99
Denim Blue
#3B5B92
ΔE00 6.11
Ocean Blue
#4F42B5
ΔE00 6.15
Dusky Blue
#475F94
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151AD #AD9D41
analogous
#4187AD #4151AD #6741AD
triadic
#4151AD #AD4151 #51AD41
tetradic
#4151AD #AD4187 #AD9D41 #41AD67
square
#4151AD #AD4187 #AD9D41 #41AD67
split-complementary
#4151AD #AD6741 #87AD41
monochromatic
#202754 #303C81 #4151AD #6674C5 #929CD6
Accessibility & contrast
On white
6.99
#4151AD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#4151AD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151AD
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151AD | 1.00 | 6.99 | 3.01 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#185EB0
Deuteranopia (green-blind)
#0055AB
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4151ad; /* rgb */ color: rgb(65, 81, 173); /* oklch */ color: oklch(47.3% 0.147 272.2);
Tailwind
colors: {
custom: {
50: '#8081c6',
500: '#4151ad',
950: '#000000',
},
}SCSS
$custom: #4151ad; $custom-light: #8081c6; $custom-dark: #000000;
JSON
{
"hex": "#4151ad",
"rgb": {
"r": 65,
"g": 81,
"b": 173
},
"hsl": {
"h": 231.111,
"s": 45.378,
"l": 46.667
},
"oklch": {
"l": 0.47335,
"c": 0.14713,
"h": 272.2
},
"luminance": 0.10026
}Semantic roles & 50–950 ramp
primary
#4151AD
secondary
#C2B988
accent
#C253D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82