#4156AF#4156AF
#4156AF is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.143 H 270.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #4156AF |
|---|---|
| RGB | rgb(65, 86, 175) |
| HSL | hsl(229, 46%, 47%) |
| HSV | hsv(229, 63%, 69%) |
| CMYK | cmyk(62.9%, 50.9%, 0%, 31.4%) |
| CIE-LAB | lab(39.37, 20.56, -50.07) |
| CIE-LCH | lch(39.37, 54.13, 292.33°) |
| OKLab | oklab(48.5% 0.0007 -0.1434) |
| OKLCH | oklch(48.5% 0.143 270.3) |
| XYZ | xyz(13.2430, 10.8734, 41.9500) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.49
Denim Blue
#3B5B92
ΔE00 5.11
Dusky Blue
#475F94
ΔE00 5.21
Cobalt
#0047AB
ΔE00 6.26
Warm Blue
#4B57DB
ΔE00 6.51
Iris
#6258C4
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4156AF #AF9A41
analogous
#418DAF #4156AF #6341AF
triadic
#4156AF #AF4156 #56AF41
tetradic
#4156AF #AF418D #AF9A41 #41AF63
square
#4156AF #AF418D #AF9A41 #41AF63
split-complementary
#4156AF #AF6341 #8DAF41
monochromatic
#202A56 #304082 #4156AF #6779C6 #93A0D7
Accessibility & contrast
On white
6.61
#4156AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#4156AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4156AF
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4156AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4156AF | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#0658AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4156af; /* rgb */ color: rgb(65, 86, 175); /* oklch */ color: oklch(48.5% 0.143 270.3);
Tailwind
colors: {
custom: {
50: '#8085c7',
500: '#4156af',
950: '#000000',
},
}SCSS
$custom: #4156af; $custom-light: #8085c7; $custom-dark: #000000;
JSON
{
"hex": "#4156af",
"rgb": {
"r": 65,
"g": 86,
"b": 175
},
"hsl": {
"h": 228.545,
"s": 45.833,
"l": 47.059
},
"oklch": {
"l": 0.48496,
"c": 0.14343,
"h": 270.3
},
"luminance": 0.10875
}Semantic roles & 50–950 ramp
primary
#4156AF
secondary
#C2B889
accent
#BC52D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82