#4055AB#4055AB
#4055AB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.139 H 270.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4055AB |
|---|---|
| RGB | rgb(64, 85, 171) |
| HSL | hsl(228, 46%, 46%) |
| HSV | hsv(228, 63%, 67%) |
| CMYK | cmyk(62.6%, 50.3%, 0%, 32.9%) |
| CIE-LAB | lab(38.77, 19.61, -48.67) |
| CIE-LCH | lch(38.77, 52.47, 291.95°) |
| OKLab | oklab(47.94% 0.0003 -0.1393) |
| OKLCH | oklch(47.94% 0.139 270.1) |
| XYZ | xyz(12.7111, 10.5262, 39.8821) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.50
Denim Blue
#3B5B92
ΔE00 4.80
Dusky Blue
#475F94
ΔE00 5.03
Cobalt
#0047AB
ΔE00 5.95
Dusk Blue
#26538D
ΔE00 6.36
Cobalt (survey)
#1E488F
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4055AB #AB9640
analogous
#408AAB #4055AB #6040AB
triadic
#4055AB #AB4055 #55AB40
tetradic
#4055AB #AB408A #AB9640 #40AB60
square
#4055AB #AB408A #AB9640 #40AB60
split-complementary
#4055AB #AB6040 #8AAB40
monochromatic
#1F2952 #2F3F7E #4055AB #6377C5 #909ED5
Accessibility & contrast
On white
6.76
#4055AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#4055AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4055AB
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4055AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4055AB | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2760AE
Deuteranopia (green-blind)
#0D57A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #4055ab; /* rgb */ color: rgb(64, 85, 171); /* oklch */ color: oklch(47.9% 0.139 270.1);
Tailwind
colors: {
custom: {
50: '#7f84c5',
500: '#4055ab',
950: '#000000',
},
}SCSS
$custom: #4055ab; $custom-light: #7f84c5; $custom-dark: #000000;
JSON
{
"hex": "#4055ab",
"rgb": {
"r": 64,
"g": 85,
"b": 171
},
"hsl": {
"h": 228.224,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.47944,
"c": 0.13934,
"h": 270.1
},
"luminance": 0.10527
}Semantic roles & 50–950 ramp
primary
#4055AB
secondary
#C1B586
accent
#BC53D5
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82