#4151AE#4151AE
#4151AE is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.4% C 0.149 H 272.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #4151AE |
|---|---|
| RGB | rgb(65, 81, 174) |
| HSL | hsl(231, 46%, 47%) |
| HSV | hsv(231, 63%, 68%) |
| CMYK | cmyk(62.6%, 53.4%, 0%, 31.8%) |
| CIE-LAB | lab(37.96, 23.45, -51.75) |
| CIE-LCH | lch(37.96, 56.82, 294.37°) |
| OKLab | oklab(47.41% 0.0056 -0.1484) |
| OKLCH | oklch(47.41% 0.149 272.2) |
| XYZ | xyz(12.7598, 10.0636, 41.3062) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.93
Cobalt
#0047AB
ΔE00 5.67
Blue Blue
#2242C7
ΔE00 5.90
Ocean Blue
#4F42B5
ΔE00 6.09
Denim Blue
#3B5B92
ΔE00 6.20
Blueberry
#464196
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151AE #AE9E41
analogous
#4188AE #4151AE #6841AE
triadic
#4151AE #AE4151 #51AE41
tetradic
#4151AE #AE4188 #AE9E41 #41AE68
square
#4151AE #AE4188 #AE9E41 #41AE68
split-complementary
#4151AE #AE6841 #88AE41
monochromatic
#202855 #303C81 #4151AE #6674C6 #939DD7
Accessibility & contrast
On white
6.97
#4151AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#4151AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151AE
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151AE | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#165EB1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4151ae; /* rgb */ color: rgb(65, 81, 174); /* oklch */ color: oklch(47.4% 0.149 272.2);
Tailwind
colors: {
custom: {
50: '#8181c7',
500: '#4151ae',
950: '#000000',
},
}SCSS
$custom: #4151ae; $custom-light: #8181c7; $custom-dark: #000000;
JSON
{
"hex": "#4151ae",
"rgb": {
"r": 65,
"g": 81,
"b": 174
},
"hsl": {
"h": 231.193,
"s": 45.607,
"l": 46.863
},
"oklch": {
"l": 0.4741,
"c": 0.14856,
"h": 272.2
},
"luminance": 0.10065
}Semantic roles & 50–950 ramp
primary
#4151AE
secondary
#C2BA89
accent
#C253D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82