#4152CB#4152CB
#4152CB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.9% C 0.187 H 271.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #4152CB |
|---|---|
| RGB | rgb(65, 82, 203) |
| HSL | hsl(233, 57%, 53%) |
| HSV | hsv(233, 68%, 80%) |
| CMYK | cmyk(68%, 59.6%, 0%, 20.4%) |
| CIE-LAB | lab(40.36, 33.00, -64.83) |
| CIE-LCH | lch(40.36, 72.74, 296.98°) |
| OKLab | oklab(49.88% 0.0055 -0.1869) |
| OKLCH | oklch(49.88% 0.187 271.7) |
| XYZ | xyz(15.9731, 11.4687, 57.8602) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.99
Blue Blue
#2242C7
ΔE00 5.11
Blue (survey)
#0343DF
ΔE00 5.15
Iris
#6258C4
ΔE00 5.19
Sapphire
#0F52BA
ΔE00 5.80
Azul
#1D5DEC
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4152CB #CBBA41
analogous
#4197CB #4152CB #7541CB
triadic
#4152CB #CB4152 #52CB41
tetradic
#4152CB #CB4197 #CBBA41 #41CB75
square
#4152CB #CB4197 #CBBA41 #41CB75
split-complementary
#4152CB #CB7541 #97CB41
monochromatic
#1F2A72 #2C3BA2 #4152CB #717ED8 #A1AAE5
Accessibility & contrast
On white
6.38
#4152CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#4152CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4152CB
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4152CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4152CB | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4152cb; /* rgb */ color: rgb(65, 82, 203); /* oklch */ color: oklch(49.9% 0.187 271.7);
Tailwind
colors: {
custom: {
50: '#8682dc',
500: '#4152cb',
950: '#000000',
},
}SCSS
$custom: #4152cb; $custom-light: #8682dc; $custom-dark: #000000;
JSON
{
"hex": "#4152cb",
"rgb": {
"r": 65,
"g": 82,
"b": 203
},
"hsl": {
"h": 232.609,
"s": 57.025,
"l": 52.549
},
"oklch": {
"l": 0.49881,
"c": 0.18695,
"h": 271.7
},
"luminance": 0.1147
}Semantic roles & 50–950 ramp
primary
#4152CB
secondary
#D2CA96
accent
#CD48E0
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83