#4957C7#4957C7
#4957C7 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.0% C 0.173 H 273.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #4957C7 |
|---|---|
| RGB | rgb(73, 87, 199) |
| HSL | hsl(233, 53%, 53%) |
| HSV | hsv(233, 63%, 78%) |
| CMYK | cmyk(63.3%, 56.3%, 0%, 22%) |
| CIE-LAB | lab(41.77, 29.68, -60.19) |
| CIE-LCH | lch(41.77, 67.11, 296.25°) |
| OKLab | oklab(50.96% 0.0097 -0.173) |
| OKLCH | oklch(50.96% 0.173 273.2) |
| XYZ | xyz(16.4612, 12.3550, 55.5390) |
| Luminance | 0.1236 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.78
Iris
#6258C4
ΔE00 4.22
Dark Periwinkle
#665FD1
ΔE00 5.28
Slate Blue
#6A5ACD
ΔE00 5.64
Azul
#1D5DEC
ΔE00 5.70
Light Indigo
#6D5ACF
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4957C7 #C7B949
analogous
#4996C7 #4957C7 #7A49C7
triadic
#4957C7 #C74957 #57C749
tetradic
#4957C7 #C74996 #C7B949 #49C77A
square
#4957C7 #C74996 #C7B949 #49C77A
split-complementary
#4957C7 #C77A49 #96C749
monochromatic
#232C72 #323EA1 #4957C7 #7882D5 #A7ADE4
Accessibility & contrast
On white
6.05
#4957C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#4957C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4957C7
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4957C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4957C7 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#005DC5
Tritanopia (blue-blind)
#007286
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4957c7; /* rgb */ color: rgb(73, 87, 199); /* oklch */ color: oklch(51.0% 0.173 273.2);
Tailwind
colors: {
custom: {
50: '#8986d9',
500: '#4957c7',
950: '#000000',
},
}SCSS
$custom: #4957c7; $custom-light: #8986d9; $custom-dark: #000000;
JSON
{
"hex": "#4957c7",
"rgb": {
"r": 73,
"g": 87,
"b": 199
},
"hsl": {
"h": 233.333,
"s": 52.941,
"l": 53.333
},
"oklch": {
"l": 0.50964,
"c": 0.17327,
"h": 273.2
},
"luminance": 0.12356
}Semantic roles & 50–950 ramp
primary
#4957C7
secondary
#D1CB9B
accent
#CC4BDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83