#4056B7#4056B7
#4056B7 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.0% C 0.155 H 270.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #4056B7 |
|---|---|
| RGB | rgb(64, 86, 183) |
| HSL | hsl(229, 48%, 48%) |
| HSV | hsv(229, 65%, 72%) |
| CMYK | cmyk(65%, 53%, 0%, 28.2%) |
| CIE-LAB | lab(39.85, 23.22, -54.00) |
| CIE-LCH | lch(39.85, 58.78, 293.27°) |
| OKLab | oklab(49.02% 0.0004 -0.155) |
| OKLCH | oklch(49.02% 0.155 270.1) |
| XYZ | xyz(13.9865, 11.1632, 46.2082) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.30
Warm Blue
#4B57DB
ΔE00 5.46
Denim Blue
#3B5B92
ΔE00 5.93
Dusky Blue
#475F94
ΔE00 6.05
Iris
#6258C4
ΔE00 6.22
Cobalt
#0047AB
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4056B7 #B7A140
analogous
#4091B7 #4056B7 #6640B7
triadic
#4056B7 #B74056 #56B740
tetradic
#4056B7 #B74091 #B7A140 #40B766
square
#4056B7 #B74091 #B7A140 #40B766
split-complementary
#4056B7 #B76640 #91B740
monochromatic
#202B5C #30418A #4056B7 #697BCB #97A3DB
Accessibility & contrast
On white
6.50
#4056B7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#4056B7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4056B7
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4056B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4056B7 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1763BA
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4056b7; /* rgb */ color: rgb(64, 86, 183); /* oklch */ color: oklch(49.0% 0.155 270.1);
Tailwind
colors: {
custom: {
50: '#8185cd',
500: '#4056b7',
950: '#000000',
},
}SCSS
$custom: #4056b7; $custom-light: #8185cd; $custom-dark: #000000;
JSON
{
"hex": "#4056b7",
"rgb": {
"r": 64,
"g": 86,
"b": 183
},
"hsl": {
"h": 228.908,
"s": 48.178,
"l": 48.431
},
"oklch": {
"l": 0.49023,
"c": 0.15501,
"h": 270.1
},
"luminance": 0.11164
}Semantic roles & 50–950 ramp
primary
#4056B7
secondary
#C6BC8D
accent
#BF50D8
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B13
muted
#7C7C82