#4173C1#4173C1
#4173C1 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 55.9% C 0.133 H 259.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #4173C1 |
|---|---|
| RGB | rgb(65, 115, 193) |
| HSL | hsl(217, 51%, 51%) |
| HSV | hsv(217, 66%, 76%) |
| CMYK | cmyk(66.3%, 40.4%, 0%, 24.3%) |
| CIE-LAB | lab(48.55, 8.53, -45.85) |
| CIE-LCH | lch(48.55, 46.64, 280.54°) |
| OKLab | oklab(55.9% -0.0254 -0.1306) |
| OKLCH | oklch(55.9% 0.133 259) |
| XYZ | xyz(17.9329, 17.2338, 52.8231) |
| Luminance | 0.1724 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.99
Windows Blue
#3778BF
ΔE00 2.99
French Blue
#436BAD
ΔE00 3.73
Flat Blue
#3C73A8
ΔE00 3.79
Bluish
#2976BB
ΔE00 4.20
Mid Blue
#276AB3
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4173C1 #C18F41
analogous
#41B3C1 #4173C1 #4F41C1
triadic
#4173C1 #C14173 #73C141
tetradic
#4173C1 #C141B3 #C18F41 #41C14F
square
#4173C1 #C141B3 #C18F41 #41C14F
split-complementary
#4173C1 #C14F41 #B3C141
monochromatic
#213C66 #305794 #4173C1 #6F95D0 #9DB7DF
Accessibility & contrast
On white
4.72
#4173C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#4173C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4173C1
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4173C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4173C1 | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#507AC4
Deuteranopia (green-blind)
#3C6EBF
Tritanopia (blue-blind)
#008590
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #4173c1; /* rgb */ color: rgb(65, 115, 193); /* oklch */ color: oklch(55.9% 0.133 259.0);
Tailwind
colors: {
custom: {
50: '#839ad4',
500: '#4173c1',
950: '#000000',
},
}SCSS
$custom: #4173c1; $custom-light: #839ad4; $custom-dark: #000000;
JSON
{
"hex": "#4173c1",
"rgb": {
"r": 65,
"g": 115,
"b": 193
},
"hsl": {
"h": 216.563,
"s": 50.794,
"l": 50.588
},
"oklch": {
"l": 0.55896,
"c": 0.13308,
"h": 259
},
"luminance": 0.17236
}Semantic roles & 50–950 ramp
primary
#4173C1
secondary
#CBB592
accent
#A34EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83