#4055C0#4055C0
#4055C0 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.5% C 0.169 H 270.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #4055C0 |
|---|---|
| RGB | rgb(64, 85, 192) |
| HSL | hsl(230, 50%, 50%) |
| HSV | hsv(230, 67%, 75%) |
| CMYK | cmyk(66.7%, 55.7%, 0%, 24.7%) |
| CIE-LAB | lab(40.23, 27.06, -58.65) |
| CIE-LCH | lch(40.23, 64.59, 294.77°) |
| OKLab | oklab(49.51% 0.0018 -0.1687) |
| OKLCH | oklch(49.51% 0.169 270.6) |
| XYZ | xyz(14.8741, 11.3914, 51.2739) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.23
Sapphire
#0F52BA
ΔE00 4.67
Iris
#6258C4
ΔE00 5.62
Blue Blue
#2242C7
ΔE00 5.92
Azul
#1D5DEC
ΔE00 6.18
Blue (survey)
#0343DF
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4055C0 #C0AB40
analogous
#4095C0 #4055C0 #6B40C0
triadic
#4055C0 #C04055 #55C040
tetradic
#4055C0 #C04095 #C0AB40 #40C06B
square
#4055C0 #C04095 #C0AB40 #40C06B
split-complementary
#4055C0 #C06B40 #95C040
monochromatic
#212C64 #304092 #4055C0 #6E7ECF #9CA7DE
Accessibility & contrast
On white
6.41
#4055C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#4055C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4055C0
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4055C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4055C0 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#0059BE
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4055c0; /* rgb */ color: rgb(64, 85, 192); /* oklch */ color: oklch(49.5% 0.169 270.6);
Tailwind
colors: {
custom: {
50: '#8384d4',
500: '#4055c0',
950: '#000000',
},
}SCSS
$custom: #4055c0; $custom-light: #8384d4; $custom-dark: #000000;
JSON
{
"hex": "#4055c0",
"rgb": {
"r": 64,
"g": 85,
"b": 192
},
"hsl": {
"h": 230.156,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.4951,
"c": 0.16871,
"h": 270.6
},
"luminance": 0.11393
}Semantic roles & 50–950 ramp
primary
#4055C0
secondary
#CBC191
accent
#C34EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83