#4255CA#4255CA
#4255CA is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.4% C 0.182 H 271.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #4255CA |
|---|---|
| RGB | rgb(66, 85, 202) |
| HSL | hsl(232, 56%, 53%) |
| HSV | hsv(232, 67%, 79%) |
| CMYK | cmyk(67.3%, 57.9%, 0%, 20.8%) |
| CIE-LAB | lab(41.09, 30.89, -63.06) |
| CIE-LCH | lch(41.09, 70.22, 296.10°) |
| OKLab | oklab(50.41% 0.0042 -0.1816) |
| OKLCH | oklch(50.41% 0.182 271.3) |
| XYZ | xyz(16.1523, 11.9180, 57.3148) |
| Luminance | 0.1192 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.81
Iris
#6258C4
ΔE00 5.07
Azul
#1D5DEC
ΔE00 5.32
Sapphire
#0F52BA
ΔE00 5.61
Blue Blue
#2242C7
ΔE00 5.93
Blue (survey)
#0343DF
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4255CA #CAB742
analogous
#4299CA #4255CA #7342CA
triadic
#4255CA #CA4255 #55CA42
tetradic
#4255CA #CA4299 #CAB742 #42CA73
square
#4255CA #CA4299 #CAB742 #42CA73
split-complementary
#4255CA #CA7342 #99CA42
monochromatic
#202B72 #2D3EA2 #4255CA #7280D7 #A2ABE5
Accessibility & contrast
On white
6.21
#4255CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#4255CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4255CA
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4255CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4255CA | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4255ca; /* rgb */ color: rgb(66, 85, 202); /* oklch */ color: oklch(50.4% 0.182 271.3);
Tailwind
colors: {
custom: {
50: '#8684db',
500: '#4255ca',
950: '#000000',
},
}SCSS
$custom: #4255ca; $custom-light: #8684db; $custom-dark: #000000;
JSON
{
"hex": "#4255ca",
"rgb": {
"r": 66,
"g": 85,
"b": 202
},
"hsl": {
"h": 231.618,
"s": 56.198,
"l": 52.549
},
"oklch": {
"l": 0.50412,
"c": 0.18169,
"h": 271.3
},
"luminance": 0.1192
}Semantic roles & 50–950 ramp
primary
#4255CA
secondary
#D1C996
accent
#CA48DF
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83