#4056BF#4056BF
#4056BF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.6% C 0.166 H 270.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4056BF |
|---|---|
| RGB | rgb(64, 86, 191) |
| HSL | hsl(230, 50%, 50%) |
| HSV | hsv(230, 66%, 75%) |
| CMYK | cmyk(66.5%, 55%, 0%, 25.1%) |
| CIE-LAB | lab(40.42, 26.07, -57.76) |
| CIE-LCH | lch(40.42, 63.37, 294.29°) |
| OKLab | oklab(49.63% 0.0009 -0.1661) |
| OKLCH | oklch(49.63% 0.166 270.3) |
| XYZ | xyz(14.8429, 11.5058, 50.7187) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.38
Sapphire
#0F52BA
ΔE00 4.57
Iris
#6258C4
ΔE00 5.73
Azul
#1D5DEC
ΔE00 6.13
Blue Blue
#2242C7
ΔE00 6.24
Denim
#1560BD
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4056BF #BFA940
analogous
#4096BF #4056BF #6940BF
triadic
#4056BF #BF4056 #56BF40
tetradic
#4056BF #BF4096 #BFA940 #40BF69
square
#4056BF #BF4096 #BFA940 #40BF69
split-complementary
#4056BF #BF6940 #96BF40
monochromatic
#212D63 #314191 #4056BF #6E7FCE #9CA7DE
Accessibility & contrast
On white
6.36
#4056BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#4056BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4056BF
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4056BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4056BF | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4056bf; /* rgb */ color: rgb(64, 86, 191); /* oklch */ color: oklch(49.6% 0.166 270.3);
Tailwind
colors: {
custom: {
50: '#8385d3',
500: '#4056bf',
950: '#000000',
},
}SCSS
$custom: #4056bf; $custom-light: #8385d3; $custom-dark: #000000;
JSON
{
"hex": "#4056bf",
"rgb": {
"r": 64,
"g": 86,
"b": 191
},
"hsl": {
"h": 229.606,
"s": 49.804,
"l": 50
},
"oklch": {
"l": 0.49628,
"c": 0.16608,
"h": 270.3
},
"luminance": 0.11507
}Semantic roles & 50–950 ramp
primary
#4056BF
secondary
#CAC091
accent
#C14ED9
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83