#4B51BF#4B51BF
#4B51BF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.4% C 0.170 H 275.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #4B51BF |
|---|---|
| RGB | rgb(75, 81, 191) |
| HSL | hsl(237, 48%, 52%) |
| HSV | hsv(237, 61%, 75%) |
| CMYK | cmyk(60.7%, 57.6%, 0%, 25.1%) |
| CIE-LAB | lab(39.82, 31.07, -58.71) |
| CIE-LCH | lch(39.82, 66.42, 297.89°) |
| OKLab | oklab(49.36% 0.0174 -0.1686) |
| OKLCH | oklch(49.36% 0.17 275.9) |
| XYZ | xyz(15.2450, 11.1411, 50.6272) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.19
Warm Blue
#4B57DB
ΔE00 4.21
Ocean Blue
#4F42B5
ΔE00 4.89
Blue Blue
#2242C7
ΔE00 5.48
Slate Blue
#6A5ACD
ΔE00 5.94
Dark Periwinkle
#665FD1
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B51BF #BFB94B
analogous
#4B8BBF #4B51BF #7F4BBF
triadic
#4B51BF #BF4B51 #51BF4B
tetradic
#4B51BF #BF4B8B #BFB94B #4BBF7F
square
#4B51BF #BF4B8B #BFB94B #4BBF7F
split-complementary
#4B51BF #BF7F4B #8BBF4B
monochromatic
#26296A #363B97 #4B51BF #787DCF #A5A8DF
Accessibility & contrast
On white
6.50
#4B51BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#4B51BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B51BF
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B51BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B51BF | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006B80
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4b51bf; /* rgb */ color: rgb(75, 81, 191); /* oklch */ color: oklch(49.4% 0.170 275.9);
Tailwind
colors: {
custom: {
50: '#8982d3',
500: '#4b51bf',
950: '#000000',
},
}SCSS
$custom: #4b51bf; $custom-light: #8982d3; $custom-dark: #000000;
JSON
{
"hex": "#4b51bf",
"rgb": {
"r": 75,
"g": 81,
"b": 191
},
"hsl": {
"h": 236.897,
"s": 47.541,
"l": 52.157
},
"oklch": {
"l": 0.49355,
"c": 0.16955,
"h": 275.9
},
"luminance": 0.11142
}Semantic roles & 50–950 ramp
primary
#4B51BF
secondary
#CCCA9A
accent
#D051D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83