#4051CB#4051CB
#4051CB is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.188 H 271.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4051CB |
|---|---|
| RGB | rgb(64, 81, 203) |
| HSL | hsl(233, 57%, 52%) |
| HSV | hsv(233, 68%, 80%) |
| CMYK | cmyk(68.5%, 60.1%, 0%, 20.4%) |
| CIE-LAB | lab(40.06, 33.49, -65.32) |
| CIE-LCH | lch(40.06, 73.40, 297.14°) |
| OKLab | oklab(49.64% 0.0053 -0.1884) |
| OKLCH | oklch(49.64% 0.188 271.6) |
| XYZ | xyz(15.8326, 11.2851, 57.8322) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.18
Blue Blue
#2242C7
ΔE00 4.81
Blue (survey)
#0343DF
ΔE00 4.88
Iris
#6258C4
ΔE00 5.35
Sapphire
#0F52BA
ΔE00 5.79
Azul
#1D5DEC
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4051CB #CBBA40
analogous
#4096CB #4051CB #7540CB
triadic
#4051CB #CB4051 #51CB40
tetradic
#4051CB #CB4096 #CBBA40 #40CB75
square
#4051CB #CB4096 #CBBA40 #40CB75
split-complementary
#4051CB #CB7540 #96CB40
monochromatic
#1F2972 #2C3AA2 #4051CB #707DD8 #A0A9E5
Accessibility & contrast
On white
6.45
#4051CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#4051CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4051CB
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4051CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4051CB | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4051cb; /* rgb */ color: rgb(64, 81, 203); /* oklch */ color: oklch(49.6% 0.188 271.6);
Tailwind
colors: {
custom: {
50: '#8681dc',
500: '#4051cb',
950: '#000000',
},
}SCSS
$custom: #4051cb; $custom-light: #8681dc; $custom-dark: #000000;
JSON
{
"hex": "#4051cb",
"rgb": {
"r": 64,
"g": 81,
"b": 203
},
"hsl": {
"h": 232.662,
"s": 57.202,
"l": 52.353
},
"oklch": {
"l": 0.49642,
"c": 0.18843,
"h": 271.6
},
"luminance": 0.11287
}Semantic roles & 50–950 ramp
primary
#4051CB
secondary
#D2CA95
accent
#CE47E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83