#4150CF#4150CF
#4150CF is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.9% C 0.195 H 272.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #4150CF |
|---|---|
| RGB | rgb(65, 80, 207) |
| HSL | hsl(234, 60%, 53%) |
| HSV | hsv(234, 69%, 81%) |
| CMYK | cmyk(68.6%, 61.4%, 0%, 18.8%) |
| CIE-LAB | lab(40.19, 35.64, -67.41) |
| CIE-LCH | lch(40.19, 76.26, 297.87°) |
| OKLab | oklab(49.85% 0.007 -0.1945) |
| OKLCH | oklch(49.85% 0.195 272.1) |
| XYZ | xyz(16.3073, 11.3646, 60.3536) |
| Luminance | 0.1137 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.92
Blue (survey)
#0343DF
ΔE00 4.56
Blue Blue
#2242C7
ΔE00 4.76
Iris
#6258C4
ΔE00 5.31
Electric Blue
#0652FF
ΔE00 5.70
Ocean Blue
#4F42B5
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4150CF #CFC041
analogous
#4197CF #4150CF #7941CF
triadic
#4150CF #CF4150 #50CF41
tetradic
#4150CF #CF4197 #CFC041 #41CF79
square
#4150CF #CF4197 #CFC041 #41CF79
split-complementary
#4150CF #CF7941 #97CF41
monochromatic
#1E2877 #2B38A8 #4150CF #727DDB #A3AAE8
Accessibility & contrast
On white
6.42
#4150CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#4150CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4150CF
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4150CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4150CF | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0058CD
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4150cf; /* rgb */ color: rgb(65, 80, 207); /* oklch */ color: oklch(49.9% 0.195 272.1);
Tailwind
colors: {
custom: {
50: '#8781df',
500: '#4150cf',
950: '#000000',
},
}SCSS
$custom: #4150cf; $custom-light: #8781df; $custom-dark: #000000;
JSON
{
"hex": "#4150cf",
"rgb": {
"r": 65,
"g": 80,
"b": 207
},
"hsl": {
"h": 233.662,
"s": 59.664,
"l": 53.333
},
"oklch": {
"l": 0.49853,
"c": 0.19462,
"h": 272.1
},
"luminance": 0.11366
}Semantic roles & 50–950 ramp
primary
#4150CF
secondary
#D4CE97
accent
#D245E3
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83