#4954CB#4954CB
#4954CB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.182 H 273.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #4954CB |
|---|---|
| RGB | rgb(73, 84, 203) |
| HSL | hsl(235, 56%, 54%) |
| HSV | hsv(235, 64%, 80%) |
| CMYK | cmyk(64%, 58.6%, 0%, 20.4%) |
| CIE-LAB | lab(41.32, 32.93, -63.23) |
| CIE-LCH | lch(41.32, 71.30, 297.51°) |
| OKLab | oklab(50.72% 0.0124 -0.182) |
| OKLCH | oklch(50.72% 0.182 273.9) |
| XYZ | xyz(16.6939, 12.0675, 57.9378) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.38
Iris
#6258C4
ΔE00 4.15
Dark Periwinkle
#665FD1
ΔE00 5.41
Slate Blue
#6A5ACD
ΔE00 5.48
Azul
#1D5DEC
ΔE00 5.91
Blue (survey)
#0343DF
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4954CB #CBC049
analogous
#4995CB #4954CB #7F49CB
triadic
#4954CB #CB4954 #54CB49
tetradic
#4954CB #CB4995 #CBC049 #49CB7F
square
#4954CB #CB4995 #CBC049 #49CB7F
split-complementary
#4954CB #CB7F49 #95CB49
monochromatic
#222977 #303AA7 #4954CB #7981D9 #A8ADE6
Accessibility & contrast
On white
6.15
#4954CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#4954CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4954CB
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4954CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4954CB | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#005CC9
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #4954cb; /* rgb */ color: rgb(73, 84, 203); /* oklch */ color: oklch(50.7% 0.182 273.9);
Tailwind
colors: {
custom: {
50: '#8a84dc',
500: '#4954cb',
950: '#000000',
},
}SCSS
$custom: #4954cb; $custom-light: #8a84dc; $custom-dark: #000000;
JSON
{
"hex": "#4954cb",
"rgb": {
"r": 73,
"g": 84,
"b": 203
},
"hsl": {
"h": 234.923,
"s": 55.556,
"l": 54.118
},
"oklch": {
"l": 0.50721,
"c": 0.18242,
"h": 273.9
},
"luminance": 0.12069
}Semantic roles & 50–950 ramp
primary
#4954CB
secondary
#D4CF9C
accent
#D249DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0A15
muted
#7E7C83