#4152C8#4152C8
#4152C8 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.183 H 271.7°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #4152C8 |
|---|---|
| RGB | rgb(65, 82, 200) |
| HSL | hsl(232, 55%, 52%) |
| HSV | hsv(232, 68%, 78%) |
| CMYK | cmyk(67.5%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(40.13, 31.95, -63.47) |
| CIE-LCH | lch(40.13, 71.05, 296.72°) |
| OKLab | oklab(49.64% 0.0056 -0.1829) |
| OKLCH | oklch(49.64% 0.183 271.7) |
| XYZ | xyz(15.6191, 11.3271, 55.9956) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.33
Blue Blue
#2242C7
ΔE00 5.05
Iris
#6258C4
ΔE00 5.22
Blue (survey)
#0343DF
ΔE00 5.30
Sapphire
#0F52BA
ΔE00 5.57
Azul
#1D5DEC
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4152C8 #C8B741
analogous
#4196C8 #4152C8 #7341C8
triadic
#4152C8 #C84152 #52C841
tetradic
#4152C8 #C84196 #C8B741 #41C873
square
#4152C8 #C84196 #C8B741 #41C873
split-complementary
#4152C8 #C87341 #96C841
monochromatic
#202A6F #2E3C9E #4152C8 #707DD6 #A0A8E3
Accessibility & contrast
On white
6.43
#4152C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#4152C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4152C8
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4152C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4152C8 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CC
Deuteranopia (green-blind)
#0059C6
Tritanopia (blue-blind)
#006F85
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4152c8; /* rgb */ color: rgb(65, 82, 200); /* oklch */ color: oklch(49.6% 0.183 271.7);
Tailwind
colors: {
custom: {
50: '#8582da',
500: '#4152c8',
950: '#000000',
},
}SCSS
$custom: #4152c8; $custom-light: #8582da; $custom-dark: #000000;
JSON
{
"hex": "#4152c8",
"rgb": {
"r": 65,
"g": 82,
"b": 200
},
"hsl": {
"h": 232.444,
"s": 55.102,
"l": 51.961
},
"oklch": {
"l": 0.49635,
"c": 0.18296,
"h": 271.7
},
"luminance": 0.11329
}Semantic roles & 50–950 ramp
primary
#4152C8
secondary
#D0C995
accent
#CC49DE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83