#4C5FCB#4C5FCB
#4C5FCB is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.168 H 271.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5FCB |
|---|---|
| RGB | rgb(76, 95, 203) |
| HSL | hsl(231, 55%, 55%) |
| HSV | hsv(231, 63%, 80%) |
| CMYK | cmyk(62.6%, 53.2%, 0%, 20.4%) |
| CIE-LAB | lab(44.28, 26.51, -58.44) |
| CIE-LCH | lch(44.28, 64.17, 294.40°) |
| OKLab | oklab(52.98% 0.0057 -0.1677) |
| OKLCH | oklch(52.98% 0.168 271.9) |
| XYZ | xyz(17.8486, 14.0312, 58.2560) |
| Luminance | 0.1403 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.41
Dark Periwinkle
#665FD1
ΔE00 4.64
Royal Blue
#4169E1
ΔE00 4.72
Azul
#1D5DEC
ΔE00 4.77
Iris
#6258C4
ΔE00 5.01
Slate Blue
#6A5ACD
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5FCB #CBB84C
analogous
#4C9ECB #4C5FCB #794CCB
triadic
#4C5FCB #CB4C5F #5FCB4C
tetradic
#4C5FCB #CB4C9E #CBB84C #4CCB79
square
#4C5FCB #CB4C9E #CBB84C #4CCB79
split-complementary
#4C5FCB #CB794C #9ECB4C
monochromatic
#233079 #3143A9 #4C5FCB #7B89D9 #ABB4E7
Accessibility & contrast
On white
5.52
#4C5FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#4C5FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C5FCB
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5FCB | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#186FCF
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #4c5fcb; /* rgb */ color: rgb(76, 95, 203); /* oklch */ color: oklch(53.0% 0.168 271.9);
Tailwind
colors: {
custom: {
50: '#8a8cdc',
500: '#4c5fcb',
950: '#000000',
},
}SCSS
$custom: #4c5fcb; $custom-light: #8a8cdc; $custom-dark: #000000;
JSON
{
"hex": "#4c5fcb",
"rgb": {
"r": 76,
"g": 95,
"b": 203
},
"hsl": {
"h": 231.024,
"s": 54.978,
"l": 54.706
},
"oklch": {
"l": 0.52976,
"c": 0.16778,
"h": 271.9
},
"luminance": 0.14033
}Semantic roles & 50–950 ramp
primary
#4C5FCB
secondary
#D4CC9F
accent
#C849DE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83