#4A51C8#4A51C8
#4A51C8 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.182 H 275.1°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4A51C8 |
|---|---|
| RGB | rgb(74, 81, 200) |
| HSL | hsl(237, 53%, 54%) |
| HSV | hsv(237, 63%, 78%) |
| CMYK | cmyk(63%, 59.5%, 0%, 21.6%) |
| CIE-LAB | lab(40.43, 33.94, -62.96) |
| CIE-LCH | lch(40.43, 71.52, 298.33°) |
| OKLab | oklab(50% 0.0162 -0.1812) |
| OKLCH | oklch(50% 0.182 275.1) |
| XYZ | xyz(16.1884, 11.5095, 56.0008) |
| Luminance | 0.1151 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.15
Iris
#6258C4
ΔE00 4.17
Ocean Blue
#4F42B5
ΔE00 5.32
Blue Blue
#2242C7
ΔE00 5.37
Slate Blue
#6A5ACD
ΔE00 5.63
Blue (survey)
#0343DF
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A51C8 #C8C14A
analogous
#4A90C8 #4A51C8 #824AC8
triadic
#4A51C8 #C84A51 #51C84A
tetradic
#4A51C8 #C84A90 #C8C14A #4AC882
square
#4A51C8 #C84A90 #C8C14A #4AC882
split-complementary
#4A51C8 #C8824A #90C84A
monochromatic
#232874 #3238A3 #4A51C8 #797ED6 #A8ABE5
Accessibility & contrast
On white
6.36
#4A51C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#4A51C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A51C8
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A51C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A51C8 | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#005AC6
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4a51c8; /* rgb */ color: rgb(74, 81, 200); /* oklch */ color: oklch(50.0% 0.182 275.1);
Tailwind
colors: {
custom: {
50: '#8a82da',
500: '#4a51c8',
950: '#000000',
},
}SCSS
$custom: #4a51c8; $custom-light: #8a82da; $custom-dark: #000000;
JSON
{
"hex": "#4a51c8",
"rgb": {
"r": 74,
"g": 81,
"b": 200
},
"hsl": {
"h": 236.667,
"s": 53.39,
"l": 53.725
},
"oklch": {
"l": 0.50002,
"c": 0.18189,
"h": 275.1
},
"luminance": 0.11511
}Semantic roles & 50–950 ramp
primary
#4A51C8
secondary
#D2CF9C
accent
#D54BDD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83