#4151AF#4151AF
#4151AF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.5% C 0.150 H 272.2°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4151AF |
|---|---|
| RGB | rgb(65, 81, 175) |
| HSL | hsl(231, 46%, 47%) |
| HSV | hsv(231, 63%, 69%) |
| CMYK | cmyk(62.9%, 53.7%, 0%, 31.4%) |
| CIE-LAB | lab(38.03, 23.80, -52.23) |
| CIE-LCH | lch(38.03, 57.40, 294.50°) |
| OKLab | oklab(47.49% 0.0057 -0.1499) |
| OKLCH | oklch(47.49% 0.15 272.2) |
| XYZ | xyz(12.8577, 10.1027, 41.8216) |
| Luminance | 0.1010 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.91
Cobalt
#0047AB
ΔE00 5.69
Blue Blue
#2242C7
ΔE00 5.81
Ocean Blue
#4F42B5
ΔE00 6.03
Denim Blue
#3B5B92
ΔE00 6.29
Blueberry
#464196
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4151AF #AF9F41
analogous
#4188AF #4151AF #6841AF
triadic
#4151AF #AF4151 #51AF41
tetradic
#4151AF #AF4188 #AF9F41 #41AF68
square
#4151AF #AF4188 #AF9F41 #41AF68
split-complementary
#4151AF #AF6841 #88AF41
monochromatic
#202856 #303C82 #4151AF #6775C6 #939DD7
Accessibility & contrast
On white
6.95
#4151AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#4151AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4151AF
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4151AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4151AF | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#145FB2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4151af; /* rgb */ color: rgb(65, 81, 175); /* oklch */ color: oklch(47.5% 0.150 272.2);
Tailwind
colors: {
custom: {
50: '#8181c7',
500: '#4151af',
950: '#000000',
},
}SCSS
$custom: #4151af; $custom-light: #8181c7; $custom-dark: #000000;
JSON
{
"hex": "#4151af",
"rgb": {
"r": 65,
"g": 81,
"b": 175
},
"hsl": {
"h": 231.273,
"s": 45.833,
"l": 47.059
},
"oklch": {
"l": 0.47485,
"c": 0.14997,
"h": 272.2
},
"luminance": 0.10104
}Semantic roles & 50–950 ramp
primary
#4151AF
secondary
#C2BA89
accent
#C252D5
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82