#4148C7#4148C7
#4148C7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.8% C 0.194 H 274.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #4148C7 |
|---|---|
| RGB | rgb(65, 72, 199) |
| HSL | hsl(237, 54%, 52%) |
| HSV | hsv(237, 67%, 78%) |
| CMYK | cmyk(67.3%, 63.8%, 0%, 22%) |
| CIE-LAB | lab(37.63, 37.86, -66.96) |
| CIE-LCH | lch(37.63, 76.92, 299.48°) |
| OKLab | oklab(47.77% 0.0134 -0.1932) |
| OKLCH | oklch(47.77% 0.194 274) |
| XYZ | xyz(14.8027, 9.8807, 55.1488) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.05
Ocean Blue
#4F42B5
ΔE00 3.70
Blue (survey)
#0343DF
ΔE00 3.93
Blue With A Hint Of Purple
#533CC6
ΔE00 4.34
Blurple
#5539CC
ΔE00 5.06
Warm Blue
#4B57DB
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4148C7 #C7C041
analogous
#418BC7 #4148C7 #7D41C7
triadic
#4148C7 #C74148 #48C741
tetradic
#4148C7 #C7418B #C7C041 #41C77D
square
#4148C7 #C7418B #C7C041 #41C77D
split-complementary
#4148C7 #C77D41 #8BC741
monochromatic
#20246D #2E349D #4148C7 #7076D5 #A0A3E3
Accessibility & contrast
On white
7.06
#4148C7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#4148C7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4148C7
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4148C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4148C7 | 1.00 | 7.06 | 2.98 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#0053C5
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4148c7; /* rgb */ color: rgb(65, 72, 199); /* oklch */ color: oklch(47.8% 0.194 274.0);
Tailwind
colors: {
custom: {
50: '#867bd9',
500: '#4148c7',
950: '#000000',
},
}SCSS
$custom: #4148c7; $custom-light: #867bd9; $custom-dark: #000000;
JSON
{
"hex": "#4148c7",
"rgb": {
"r": 65,
"g": 72,
"b": 199
},
"hsl": {
"h": 236.866,
"s": 54.472,
"l": 51.765
},
"oklch": {
"l": 0.47768,
"c": 0.19369,
"h": 274
},
"luminance": 0.09882
}Semantic roles & 50–950 ramp
primary
#4148C7
secondary
#CFCC95
accent
#D64ADE
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0915
muted
#7D7B83