#4150C8#4150C8
#4150C8 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.3% C 0.185 H 272.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #4150C8 |
|---|---|
| RGB | rgb(65, 80, 200) |
| HSL | hsl(233, 55%, 52%) |
| HSV | hsv(233, 68%, 78%) |
| CMYK | cmyk(67.5%, 60%, 0%, 21.6%) |
| CIE-LAB | lab(39.63, 33.21, -64.27) |
| CIE-LCH | lch(39.63, 72.35, 297.33°) |
| OKLab | oklab(49.27% 0.0072 -0.1853) |
| OKLCH | oklch(49.27% 0.185 272.2) |
| XYZ | xyz(15.4705, 11.0298, 55.9461) |
| Luminance | 0.1103 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.59
Blue Blue
#2242C7
ΔE00 4.54
Blue (survey)
#0343DF
ΔE00 4.89
Iris
#6258C4
ΔE00 5.32
Ocean Blue
#4F42B5
ΔE00 5.57
Sapphire
#0F52BA
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4150C8 #C8B941
analogous
#4194C8 #4150C8 #7541C8
triadic
#4150C8 #C84150 #50C841
tetradic
#4150C8 #C84194 #C8B941 #41C875
square
#4150C8 #C84194 #C8B941 #41C875
split-complementary
#4150C8 #C87541 #94C841
monochromatic
#20296F #2E3A9E #4150C8 #707CD6 #A0A7E3
Accessibility & contrast
On white
6.55
#4150C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#4150C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4150C8
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4150C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4150C8 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0057C6
Tritanopia (blue-blind)
#006E84
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #4150c8; /* rgb */ color: rgb(65, 80, 200); /* oklch */ color: oklch(49.3% 0.185 272.2);
Tailwind
colors: {
custom: {
50: '#8681da',
500: '#4150c8',
950: '#000000',
},
}SCSS
$custom: #4150c8; $custom-light: #8681da; $custom-dark: #000000;
JSON
{
"hex": "#4150c8",
"rgb": {
"r": 65,
"g": 80,
"b": 200
},
"hsl": {
"h": 233.333,
"s": 55.102,
"l": 51.961
},
"oklch": {
"l": 0.49268,
"c": 0.18542,
"h": 272.2
},
"luminance": 0.11031
}Semantic roles & 50–950 ramp
primary
#4150C8
secondary
#D0C995
accent
#CE49DE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83