#4055AA#4055AA
#4055AA is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.138 H 270.1°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #4055AA |
|---|---|
| RGB | rgb(64, 85, 170) |
| HSL | hsl(228, 45%, 46%) |
| HSV | hsv(228, 62%, 67%) |
| CMYK | cmyk(62.4%, 50%, 0%, 33.3%) |
| CIE-LAB | lab(38.70, 19.26, -48.18) |
| CIE-LCH | lch(38.70, 51.89, 291.79°) |
| OKLab | oklab(47.87% 0.0001 -0.1379) |
| OKLCH | oklch(47.87% 0.138 270.1) |
| XYZ | xyz(12.6161, 10.4882, 39.3820) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.54
Denim Blue
#3B5B92
ΔE00 4.70
Dusky Blue
#475F94
ΔE00 4.94
Cobalt
#0047AB
ΔE00 5.95
Dusk Blue
#26538D
ΔE00 6.26
Twilight
#4E518B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4055AA #AA9540
analogous
#408AAA #4055AA #6040AA
triadic
#4055AA #AA4055 #55AA40
tetradic
#4055AA #AA408A #AA9540 #40AA60
square
#4055AA #AA408A #AA9540 #40AA60
split-complementary
#4055AA #AA6040 #8AAA40
monochromatic
#1F2951 #2F3F7E #4055AA #6376C4 #8F9DD5
Accessibility & contrast
On white
6.78
#4055AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#4055AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4055AA
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4055AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4055AA | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2860AD
Deuteranopia (green-blind)
#1057A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4055aa; /* rgb */ color: rgb(64, 85, 170); /* oklch */ color: oklch(47.9% 0.138 270.1);
Tailwind
colors: {
custom: {
50: '#7f84c4',
500: '#4055aa',
950: '#000000',
},
}SCSS
$custom: #4055aa; $custom-light: #7f84c4; $custom-dark: #000000;
JSON
{
"hex": "#4055aa",
"rgb": {
"r": 64,
"g": 85,
"b": 170
},
"hsl": {
"h": 228.113,
"s": 45.299,
"l": 45.882
},
"oklch": {
"l": 0.47873,
"c": 0.1379,
"h": 270.1
},
"luminance": 0.10489
}Semantic roles & 50–950 ramp
primary
#4055AA
secondary
#C0B586
accent
#BB53D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82