#4056BB#4056BB
#4056BB is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.3% C 0.161 H 270.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #4056BB |
|---|---|
| RGB | rgb(64, 86, 187) |
| HSL | hsl(229, 49%, 49%) |
| HSV | hsv(229, 66%, 73%) |
| CMYK | cmyk(65.8%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(40.13, 24.65, -55.89) |
| CIE-LCH | lch(40.13, 61.08, 293.80°) |
| OKLab | oklab(49.32% 0.0007 -0.1606) |
| OKLCH | oklch(49.32% 0.161 270.2) |
| XYZ | xyz(14.4087, 11.3321, 48.4321) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.40
Warm Blue
#4B57DB
ΔE00 4.91
Iris
#6258C4
ΔE00 5.95
Blue Blue
#2242C7
ΔE00 6.38
Denim Blue
#3B5B92
ΔE00 6.39
Dusky Blue
#475F94
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4056BB #BBA540
analogous
#4094BB #4056BB #6840BB
triadic
#4056BB #BB4056 #56BB40
tetradic
#4056BB #BB4094 #BBA540 #40BB68
square
#4056BB #BB4094 #BBA540 #40BB68
split-complementary
#4056BB #BB6840 #94BB40
monochromatic
#212C60 #30418D #4056BB #6C7DCD #99A5DC
Accessibility & contrast
On white
6.43
#4056BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#4056BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4056BB
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4056BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4056BB | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D64BF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4056bb; /* rgb */ color: rgb(64, 86, 187); /* oklch */ color: oklch(49.3% 0.161 270.2);
Tailwind
colors: {
custom: {
50: '#8285d0',
500: '#4056bb',
950: '#000000',
},
}SCSS
$custom: #4056bb; $custom-light: #8285d0; $custom-dark: #000000;
JSON
{
"hex": "#4056bb",
"rgb": {
"r": 64,
"g": 86,
"b": 187
},
"hsl": {
"h": 229.268,
"s": 49.004,
"l": 49.216
},
"oklch": {
"l": 0.49323,
"c": 0.16057,
"h": 270.2
},
"luminance": 0.11333
}Semantic roles & 50–950 ramp
primary
#4056BB
secondary
#C8BE8F
accent
#C04FD9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82