#4151AC#4151AC
#4151AC is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.3% C 0.146 H 272.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #4151AC |
|---|---|
| RGB | rgb(65, 81, 172) |
| HSL | hsl(231, 45%, 46%) |
| HSV | hsv(231, 62%, 67%) |
| CMYK | cmyk(62.2%, 52.9%, 0%, 32.5%) |
| CIE-LAB | lab(37.82, 22.75, -50.79) |
| CIE-LCH | lch(37.82, 55.65, 294.12°) |
| OKLab | oklab(47.26% 0.0055 -0.1456) |
| OKLCH | oklch(47.26% 0.146 272.1) |
| XYZ | xyz(12.5663, 9.9862, 40.2870) |
| Luminance | 0.0999 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.99
Cobalt
#0047AB
ΔE00 5.64
Denim Blue
#3B5B92
ΔE00 6.02
Blue Blue
#2242C7
ΔE00 6.09
Ocean Blue
#4F42B5
ΔE00 6.21
Dusky Blue
#475F94
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151AC #AC9C41
analogous
#4187AC #4151AC #6741AC
triadic
#4151AC #AC4151 #51AC41
tetradic
#4151AC #AC4187 #AC9C41 #41AC67
square
#4151AC #AC4187 #AC9C41 #41AC67
split-complementary
#4151AC #AC6741 #87AC41
monochromatic
#1F2753 #303C80 #4151AC #6574C5 #929CD6
Accessibility & contrast
On white
7.01
#4151AC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#4151AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151AC
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151AC | 1.00 | 7.01 | 3.00 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A5EAF
Deuteranopia (green-blind)
#0054AA
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4151ac; /* rgb */ color: rgb(65, 81, 172); /* oklch */ color: oklch(47.3% 0.146 272.1);
Tailwind
colors: {
custom: {
50: '#8081c5',
500: '#4151ac',
950: '#000000',
},
}SCSS
$custom: #4151ac; $custom-light: #8081c5; $custom-dark: #000000;
JSON
{
"hex": "#4151ac",
"rgb": {
"r": 65,
"g": 81,
"b": 172
},
"hsl": {
"h": 231.028,
"s": 45.148,
"l": 46.471
},
"oklch": {
"l": 0.47261,
"c": 0.14572,
"h": 272.1
},
"luminance": 0.09987
}Semantic roles & 50–950 ramp
primary
#4151AC
secondary
#C1B888
accent
#C153D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82