#4055C7#4055C7
#4055C7 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.178 H 270.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4055C7 |
|---|---|
| RGB | rgb(64, 85, 199) |
| HSL | hsl(231, 55%, 52%) |
| HSV | hsv(231, 68%, 78%) |
| CMYK | cmyk(67.8%, 57.3%, 0%, 22%) |
| CIE-LAB | lab(40.75, 29.54, -61.88) |
| CIE-LCH | lch(40.75, 68.57, 295.52°) |
| OKLab | oklab(50.06% 0.0021 -0.1782) |
| OKLCH | oklch(50.06% 0.178 270.7) |
| XYZ | xyz(15.6682, 11.7090, 55.4561) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.33
Sapphire
#0F52BA
ΔE00 5.13
Iris
#6258C4
ΔE00 5.38
Azul
#1D5DEC
ΔE00 5.49
Blue Blue
#2242C7
ΔE00 5.84
Blue (survey)
#0343DF
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4055C7 #C7B240
analogous
#4099C7 #4055C7 #6F40C7
triadic
#4055C7 #C74055 #55C740
tetradic
#4055C7 #C74099 #C7B240 #40C76F
square
#4055C7 #C74099 #C7B240 #40C76F
split-complementary
#4055C7 #C76F40 #99C740
monochromatic
#202C6D #2E3F9C #4055C7 #6F7FD5 #9FA9E3
Accessibility & contrast
On white
6.28
#4055C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#4055C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4055C7
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4055C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4055C7 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#005AC5
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4055c7; /* rgb */ color: rgb(64, 85, 199); /* oklch */ color: oklch(50.1% 0.178 270.7);
Tailwind
colors: {
custom: {
50: '#8584d9',
500: '#4055c7',
950: '#000000',
},
}SCSS
$custom: #4055c7; $custom-light: #8584d9; $custom-dark: #000000;
JSON
{
"hex": "#4055c7",
"rgb": {
"r": 64,
"g": 85,
"b": 199
},
"hsl": {
"h": 230.667,
"s": 54.656,
"l": 51.569
},
"oklch": {
"l": 0.50061,
"c": 0.17821,
"h": 270.7
},
"luminance": 0.11711
}Semantic roles & 50–950 ramp
primary
#4055C7
secondary
#CFC694
accent
#C74ADE
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83