#4055DF#4055DF
#4055DF is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.0% C 0.210 H 270.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #4055DF |
|---|---|
| RGB | rgb(64, 85, 223) |
| HSL | hsl(232, 71%, 56%) |
| HSV | hsv(232, 71%, 87%) |
| CMYK | cmyk(71.3%, 61.9%, 0%, 12.5%) |
| CIE-LAB | lab(42.63, 37.97, -72.59) |
| CIE-LCH | lch(42.63, 81.92, 297.61°) |
| OKLab | oklab(52.04% 0.0019 -0.2097) |
| OKLCH | oklch(52.04% 0.21 270.5) |
| XYZ | xyz(18.6776, 12.9128, 71.3058) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.27
Electric Blue
#0652FF
ΔE00 3.72
Azul
#1D5DEC
ΔE00 3.96
Blue (survey)
#0343DF
ΔE00 5.67
Iris
#6258C4
ΔE00 5.71
Dark Periwinkle
#665FD1
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4055DF #DFCA40
analogous
#40A5DF #4055DF #7B40DF
triadic
#4055DF #DF4055 #55DF40
tetradic
#4055DF #DF40A5 #DFCA40 #40DF7B
square
#4055DF #DF40A5 #DFCA40 #40DF7B
split-complementary
#4055DF #DF7B40 #A5DF40
monochromatic
#18278D #2036C1 #4055DF #7484E8 #A9B2F1
Accessibility & contrast
On white
5.86
#4055DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#4055DF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4055DF
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4055DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4055DF | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#005DDC
Tritanopia (blue-blind)
#007892
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4055df; /* rgb */ color: rgb(64, 85, 223); /* oklch */ color: oklch(52.0% 0.210 270.5);
Tailwind
colors: {
custom: {
50: '#8a85ea',
500: '#4055df',
950: '#000000',
},
}SCSS
$custom: #4055df; $custom-light: #8a85ea; $custom-dark: #000000;
JSON
{
"hex": "#4055df",
"rgb": {
"r": 64,
"g": 85,
"b": 223
},
"hsl": {
"h": 232.075,
"s": 71.3,
"l": 56.275
},
"oklch": {
"l": 0.52044,
"c": 0.20967,
"h": 270.5
},
"luminance": 0.12915
}Semantic roles & 50–950 ramp
primary
#4055DF
secondary
#DED59D
accent
#D63AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0D0B16
muted
#7E7C84