#4A51BB#4A51BB
#4A51BB is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.0% C 0.164 H 275.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #4A51BB |
|---|---|
| RGB | rgb(74, 81, 187) |
| HSL | hsl(236, 45%, 51%) |
| HSV | hsv(236, 60%, 73%) |
| CMYK | cmyk(60.4%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(39.46, 29.55, -56.95) |
| CIE-LCH | lch(39.46, 64.16, 297.42°) |
| OKLab | oklab(48.98% 0.0162 -0.1635) |
| OKLCH | oklch(48.98% 0.164 275.7) |
| XYZ | xyz(14.7332, 10.9274, 48.3369) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.49
Warm Blue
#4B57DB
ΔE00 4.73
Ocean Blue
#4F42B5
ΔE00 4.89
Blue Blue
#2242C7
ΔE00 5.52
Slate Blue
#6A5ACD
ΔE00 6.32
Sapphire
#0F52BA
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A51BB #BBB44A
analogous
#4A89BB #4A51BB #7B4ABB
triadic
#4A51BB #BB4A51 #51BB4A
tetradic
#4A51BB #BB4A89 #BBB44A #4ABB7B
square
#4A51BB #BB4A89 #BBB44A #4ABB7B
split-complementary
#4A51BB #BB7B4A #89BB4A
monochromatic
#262A65 #373C91 #4A51BB #767CCC #A3A7DC
Accessibility & contrast
On white
6.59
#4A51BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#4A51BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A51BB
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A51BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A51BB | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4a51bb; /* rgb */ color: rgb(74, 81, 187); /* oklch */ color: oklch(49.0% 0.164 275.7);
Tailwind
colors: {
custom: {
50: '#8781d0',
500: '#4a51bb',
950: '#000000',
},
}SCSS
$custom: #4a51bb; $custom-light: #8781d0; $custom-dark: #000000;
JSON
{
"hex": "#4a51bb",
"rgb": {
"r": 74,
"g": 81,
"b": 187
},
"hsl": {
"h": 236.283,
"s": 45.382,
"l": 51.176
},
"oklch": {
"l": 0.48979,
"c": 0.16432,
"h": 275.7
},
"luminance": 0.10929
}Semantic roles & 50–950 ramp
primary
#4A51BB
secondary
#C9C697
accent
#CD53D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82