#4152C4#4152C4
#4152C4 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.3% C 0.178 H 271.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #4152C4 |
|---|---|
| RGB | rgb(65, 82, 196) |
| HSL | hsl(232, 53%, 51%) |
| HSV | hsv(232, 67%, 77%) |
| CMYK | cmyk(66.8%, 58.2%, 0%, 23.1%) |
| CIE-LAB | lab(39.82, 30.54, -61.64) |
| CIE-LCH | lch(39.82, 68.80, 296.36°) |
| OKLab | oklab(49.31% 0.0055 -0.1775) |
| OKLCH | oklch(49.31% 0.178 271.8) |
| XYZ | xyz(15.1577, 11.1425, 53.5658) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.80
Blue Blue
#2242C7
ΔE00 5.04
Sapphire
#0F52BA
ΔE00 5.30
Iris
#6258C4
ΔE00 5.30
Blue (survey)
#0343DF
ΔE00 5.56
Ocean Blue
#4F42B5
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4152C4 #C4B341
analogous
#4193C4 #4152C4 #7141C4
triadic
#4152C4 #C44152 #52C441
tetradic
#4152C4 #C44193 #C4B341 #41C471
square
#4152C4 #C44193 #C4B341 #41C471
split-complementary
#4152C4 #C47141 #93C441
monochromatic
#212A6A #2F3D98 #4152C4 #707DD3 #9EA7E1
Accessibility & contrast
On white
6.50
#4152C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#4152C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4152C4
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4152C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4152C4 | 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)
#0064C8
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4152c4; /* rgb */ color: rgb(65, 82, 196); /* oklch */ color: oklch(49.3% 0.178 271.8);
Tailwind
colors: {
custom: {
50: '#8582d7',
500: '#4152c4',
950: '#000000',
},
}SCSS
$custom: #4152c4; $custom-light: #8582d7; $custom-dark: #000000;
JSON
{
"hex": "#4152c4",
"rgb": {
"r": 65,
"g": 82,
"b": 196
},
"hsl": {
"h": 232.214,
"s": 52.61,
"l": 51.176
},
"oklch": {
"l": 0.49311,
"c": 0.17762,
"h": 271.8
},
"luminance": 0.11144
}Semantic roles & 50–950 ramp
primary
#4152C4
secondary
#CDC693
accent
#C94CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83