#4B51CA#4B51CA
#4B51CA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.184 H 275.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #4B51CA |
|---|---|
| RGB | rgb(75, 81, 202) |
| HSL | hsl(237, 55%, 54%) |
| HSV | hsv(237, 63%, 79%) |
| CMYK | cmyk(62.9%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(40.64, 34.78, -63.76) |
| CIE-LCH | lch(40.64, 72.62, 298.61°) |
| OKLab | oklab(50.23% 0.0173 -0.1835) |
| OKLCH | oklch(50.23% 0.184 275.4) |
| XYZ | xyz(16.5013, 11.6436, 57.2435) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.93
Iris
#6258C4
ΔE00 4.07
Ocean Blue
#4F42B5
ΔE00 5.40
Slate Blue
#6A5ACD
ΔE00 5.44
Blue Blue
#2242C7
ΔE00 5.50
Blue (survey)
#0343DF
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B51CA #CAC44B
analogous
#4B91CA #4B51CA #854BCA
triadic
#4B51CA #CA4B51 #51CA4B
tetradic
#4B51CA #CA4B91 #CAC44B #4BCA85
square
#4B51CA #CA4B91 #CAC44B #4BCA85
split-complementary
#4B51CA #CA854B #91CA4B
monochromatic
#232777 #3137A7 #4B51CA #7A7FD8 #AAACE6
Accessibility & contrast
On white
6.31
#4B51CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#4B51CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4B51CA
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B51CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B51CA | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#006F86
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4b51ca; /* rgb */ color: rgb(75, 81, 202); /* oklch */ color: oklch(50.2% 0.184 275.4);
Tailwind
colors: {
custom: {
50: '#8b82db',
500: '#4b51ca',
950: '#000000',
},
}SCSS
$custom: #4b51ca; $custom-light: #8b82db; $custom-dark: #000000;
JSON
{
"hex": "#4b51ca",
"rgb": {
"r": 75,
"g": 81,
"b": 202
},
"hsl": {
"h": 237.165,
"s": 54.506,
"l": 54.314
},
"oklch": {
"l": 0.50228,
"c": 0.1843,
"h": 275.4
},
"luminance": 0.11645
}Semantic roles & 50–950 ramp
primary
#4B51CA
secondary
#D3D19D
accent
#D74ADE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83