#4B51BB#4B51BB
#4B51BB is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.0% C 0.164 H 276.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #4B51BB |
|---|---|
| RGB | rgb(75, 81, 187) |
| HSL | hsl(237, 45%, 51%) |
| HSV | hsv(237, 60%, 73%) |
| CMYK | cmyk(59.9%, 56.7%, 0%, 26.7%) |
| CIE-LAB | lab(39.53, 29.73, -56.84) |
| CIE-LCH | lch(39.53, 64.14, 297.61°) |
| OKLab | oklab(49.05% 0.0174 -0.1632) |
| OKLCH | oklch(49.05% 0.164 276.1) |
| XYZ | xyz(14.8108, 10.9674, 48.3405) |
| Luminance | 0.1097 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.36
Warm Blue
#4B57DB
ΔE00 4.73
Ocean Blue
#4F42B5
ΔE00 4.82
Blue Blue
#2242C7
ΔE00 5.60
Slate Blue
#6A5ACD
ΔE00 6.20
Blue With A Hint Of Purple
#533CC6
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B51BB #BBB54B
analogous
#4B89BB #4B51BB #7D4BBB
triadic
#4B51BB #BB4B51 #51BB4B
tetradic
#4B51BB #BB4B89 #BBB54B #4BBB7D
square
#4B51BB #BB4B89 #BBB54B #4BBB7D
split-complementary
#4B51BB #BB7D4B #89BB4B
monochromatic
#262A65 #373C92 #4B51BB #777CCC #A4A7DD
Accessibility & contrast
On white
6.58
#4B51BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#4B51BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B51BB
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B51BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B51BB | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 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: #4b51bb; /* rgb */ color: rgb(75, 81, 187); /* oklch */ color: oklch(49.0% 0.164 276.1);
Tailwind
colors: {
custom: {
50: '#8881d0',
500: '#4b51bb',
950: '#000000',
},
}SCSS
$custom: #4b51bb; $custom-light: #8881d0; $custom-dark: #000000;
JSON
{
"hex": "#4b51bb",
"rgb": {
"r": 75,
"g": 81,
"b": 187
},
"hsl": {
"h": 236.786,
"s": 45.161,
"l": 51.373
},
"oklch": {
"l": 0.49046,
"c": 0.16408,
"h": 276.1
},
"luminance": 0.10969
}Semantic roles & 50–950 ramp
primary
#4B51BB
secondary
#CAC798
accent
#CE53D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82