#4150C4#4150C4
#4150C4 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.9% C 0.180 H 272.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #4150C4 |
|---|---|
| RGB | rgb(65, 80, 196) |
| HSL | hsl(233, 53%, 51%) |
| HSV | hsv(233, 67%, 77%) |
| CMYK | cmyk(66.8%, 59.2%, 0%, 23.1%) |
| CIE-LAB | lab(39.32, 31.81, -62.46) |
| CIE-LCH | lch(39.32, 70.09, 296.99°) |
| OKLab | oklab(48.94% 0.0072 -0.1799) |
| OKLCH | oklch(48.94% 0.18 272.3) |
| XYZ | xyz(15.0091, 10.8453, 53.5162) |
| Luminance | 0.1085 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.03
Blue Blue
#2242C7
ΔE00 4.52
Blue (survey)
#0343DF
ΔE00 5.16
Iris
#6258C4
ΔE00 5.39
Ocean Blue
#4F42B5
ΔE00 5.43
Sapphire
#0F52BA
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4150C4 #C4B541
analogous
#4191C4 #4150C4 #7341C4
triadic
#4150C4 #C44150 #50C441
tetradic
#4150C4 #C44191 #C4B541 #41C473
square
#4150C4 #C44191 #C4B541 #41C473
split-complementary
#4150C4 #C47341 #91C441
monochromatic
#21296A #2F3B98 #4150C4 #707BD3 #9EA6E1
Accessibility & contrast
On white
6.63
#4150C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#4150C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4150C4
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4150C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4150C4 | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#0057C2
Tritanopia (blue-blind)
#006D82
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4150c4; /* rgb */ color: rgb(65, 80, 196); /* oklch */ color: oklch(48.9% 0.180 272.3);
Tailwind
colors: {
custom: {
50: '#8581d7',
500: '#4150c4',
950: '#000000',
},
}SCSS
$custom: #4150c4; $custom-light: #8581d7; $custom-dark: #000000;
JSON
{
"hex": "#4150c4",
"rgb": {
"r": 65,
"g": 80,
"b": 196
},
"hsl": {
"h": 233.13,
"s": 52.61,
"l": 51.176
},
"oklch": {
"l": 0.48939,
"c": 0.18008,
"h": 272.3
},
"luminance": 0.10847
}Semantic roles & 50–950 ramp
primary
#4150C4
secondary
#CDC793
accent
#CC4CDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83