#4146C5#4146C5
#4146C5 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 47.3% C 0.193 H 274.4°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4146C5 |
|---|---|
| RGB | rgb(65, 70, 197) |
| HSL | hsl(238, 53%, 51%) |
| HSV | hsv(238, 67%, 77%) |
| CMYK | cmyk(67%, 64.5%, 0%, 22.7%) |
| CIE-LAB | lab(36.99, 38.41, -66.84) |
| CIE-LCH | lch(36.99, 77.09, 299.88°) |
| OKLab | oklab(47.25% 0.015 -0.1929) |
| OKLCH | oklch(47.25% 0.193 274.4) |
| XYZ | xyz(14.4448, 9.5340, 53.8915) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.86
Ocean Blue
#4F42B5
ΔE00 3.23
Blue With A Hint Of Purple
#533CC6
ΔE00 3.89
Blue (survey)
#0343DF
ΔE00 4.04
Blurple
#5539CC
ΔE00 4.66
Bluey Purple
#6241C7
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4146C5 #C5C041
analogous
#4188C5 #4146C5 #7E41C5
triadic
#4146C5 #C54146 #46C541
tetradic
#4146C5 #C54188 #C5C041 #41C57E
square
#4146C5 #C54188 #C5C041 #41C57E
split-complementary
#4146C5 #C57E41 #88C541
monochromatic
#21236B #2F339A #4146C5 #7074D3 #9FA1E2
Accessibility & contrast
On white
7.22
#4146C5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#4146C5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4146C5
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4146C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4146C5 | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0051C3
Tritanopia (blue-blind)
#00677F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #4146c5; /* rgb */ color: rgb(65, 70, 197); /* oklch */ color: oklch(47.3% 0.193 274.4);
Tailwind
colors: {
custom: {
50: '#867ad8',
500: '#4146c5',
950: '#000000',
},
}SCSS
$custom: #4146c5; $custom-light: #867ad8; $custom-dark: #000000;
JSON
{
"hex": "#4146c5",
"rgb": {
"r": 65,
"g": 70,
"b": 197
},
"hsl": {
"h": 237.727,
"s": 53.226,
"l": 51.373
},
"oklch": {
"l": 0.47252,
"c": 0.19345,
"h": 274.4
},
"luminance": 0.09535
}Semantic roles & 50–950 ramp
primary
#4146C5
secondary
#CECC94
accent
#D74BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83