#4055CF#4055CF
#4055CF is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.189 H 270.7°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #4055CF |
|---|---|
| RGB | rgb(64, 85, 207) |
| HSL | hsl(231, 60%, 53%) |
| HSV | hsv(231, 69%, 81%) |
| CMYK | cmyk(69.1%, 58.9%, 0%, 18.8%) |
| CIE-LAB | lab(41.36, 32.37, -65.51) |
| CIE-LCH | lch(41.36, 73.07, 296.29°) |
| OKLab | oklab(50.71% 0.0022 -0.1889) |
| OKLCH | oklch(50.71% 0.189 270.7) |
| XYZ | xyz(16.6215, 12.0904, 60.4771) |
| Luminance | 0.1209 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.37
Azul
#1D5DEC
ΔE00 4.81
Iris
#6258C4
ΔE00 5.30
Electric Blue
#0652FF
ΔE00 5.50
Blue (survey)
#0343DF
ΔE00 5.69
Sapphire
#0F52BA
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4055CF #CFBA40
analogous
#409CCF #4055CF #7240CF
triadic
#4055CF #CF4055 #55CF40
tetradic
#4055CF #CF409C #CFBA40 #40CF72
square
#4055CF #CF409C #CFBA40 #40CF72
split-complementary
#4055CF #CF7240 #9CCF40
monochromatic
#1E2B77 #2A3DA8 #4055CF #7181DB #A2ACE8
Accessibility & contrast
On white
6.14
#4055CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#4055CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4055CF
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4055CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4055CF | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#005BCD
Tritanopia (blue-blind)
#00738A
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4055cf; /* rgb */ color: rgb(64, 85, 207); /* oklch */ color: oklch(50.7% 0.189 270.7);
Tailwind
colors: {
custom: {
50: '#8684df',
500: '#4055cf',
950: '#000000',
},
}SCSS
$custom: #4055cf; $custom-light: #8684df; $custom-dark: #000000;
JSON
{
"hex": "#4055cf",
"rgb": {
"r": 64,
"g": 85,
"b": 207
},
"hsl": {
"h": 231.189,
"s": 59.833,
"l": 53.137
},
"oklch": {
"l": 0.50706,
"c": 0.18888,
"h": 270.7
},
"luminance": 0.12092
}Semantic roles & 50–950 ramp
primary
#4055CF
secondary
#D4CB97
accent
#CC45E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0B15
muted
#7D7C83