#4178C5#4178C5
#4178C5 is a mid, vivid blue. Relative luminance 0.186; OKLCH L 57.2% C 0.133 H 257.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #4178C5 |
|---|---|
| RGB | rgb(65, 120, 197) |
| HSL | hsl(215, 53%, 51%) |
| HSV | hsv(215, 67%, 77%) |
| CMYK | cmyk(67%, 39.1%, 0%, 22.7%) |
| CIE-LAB | lab(50.20, 6.86, -45.53) |
| CIE-LCH | lch(50.20, 46.04, 278.57°) |
| OKLab | oklab(57.25% -0.0295 -0.1296) |
| OKLCH | oklch(57.25% 0.133 257.2) |
| XYZ | xyz(18.9708, 18.5861, 55.4002) |
| Luminance | 0.1859 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 1.95
Bluish
#2976BB
ΔE00 3.70
Medium Blue
#2C6FBB
ΔE00 3.98
Flat Blue
#3C73A8
ΔE00 4.23
Deep Sky Blue
#0D75F8
ΔE00 4.90
Steel Blue
#4682B4
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4178C5 #C58E41
analogous
#41BAC5 #4178C5 #4C41C5
triadic
#4178C5 #C54178 #78C541
tetradic
#4178C5 #C541BA #C58E41 #41C54C
square
#4178C5 #C541BA #C58E41 #41C54C
split-complementary
#4178C5 #C54C41 #BAC541
monochromatic
#21406B #2F5B9A #4178C5 #7099D3 #9FBBE2
Accessibility & contrast
On white
4.45
#4178C5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#4178C5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4178C5
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4178C5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4178C5 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#557EC8
Deuteranopia (green-blind)
#4272C3
Tritanopia (blue-blind)
#008A95
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #4178c5; /* rgb */ color: rgb(65, 120, 197); /* oklch */ color: oklch(57.2% 0.133 257.2);
Tailwind
colors: {
custom: {
50: '#839ed7',
500: '#4178c5',
950: '#000000',
},
}SCSS
$custom: #4178c5; $custom-light: #839ed7; $custom-dark: #000000;
JSON
{
"hex": "#4178c5",
"rgb": {
"r": 65,
"g": 120,
"b": 197
},
"hsl": {
"h": 215,
"s": 53.226,
"l": 51.373
},
"oklch": {
"l": 0.57245,
"c": 0.13292,
"h": 257.2
},
"luminance": 0.18588
}Semantic roles & 50–950 ramp
primary
#4178C5
secondary
#CEB694
accent
#A04BDD
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83