#4172C2#4172C2
#4172C2 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 55.7% C 0.136 H 259.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4172C2 |
|---|---|
| RGB | rgb(65, 114, 194) |
| HSL | hsl(217, 51%, 51%) |
| HSV | hsv(217, 66%, 76%) |
| CMYK | cmyk(66.5%, 41.2%, 0%, 23.9%) |
| CIE-LAB | lab(48.33, 9.50, -46.79) |
| CIE-LCH | lch(48.33, 47.75, 281.48°) |
| OKLab | oklab(55.74% -0.0242 -0.1334) |
| OKLCH | oklch(55.74% 0.136 259.7) |
| XYZ | xyz(17.9314, 17.0517, 53.3748) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 3.06
Windows Blue
#3778BF
ΔE00 3.39
French Blue
#436BAD
ΔE00 3.52
Flat Blue
#3C73A8
ΔE00 4.01
Cornflower Blue
#5170D7
ΔE00 4.50
Mid Blue
#276AB3
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4172C2 #C29141
analogous
#41B2C2 #4172C2 #5041C2
triadic
#4172C2 #C24172 #72C241
tetradic
#4172C2 #C241B2 #C29141 #41C250
square
#4172C2 #C241B2 #C29141 #41C250
split-complementary
#4172C2 #C25041 #B2C241
monochromatic
#213C67 #305796 #4172C2 #6F94D1 #9EB7E0
Accessibility & contrast
On white
4.76
#4172C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#4172C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4172C2
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4172C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4172C2 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D79C5
Deuteranopia (green-blind)
#396DC0
Tritanopia (blue-blind)
#008490
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #4172c2; /* rgb */ color: rgb(65, 114, 194); /* oklch */ color: oklch(55.7% 0.136 259.7);
Tailwind
colors: {
custom: {
50: '#839ad5',
500: '#4172c2',
950: '#000000',
},
}SCSS
$custom: #4172c2; $custom-light: #839ad5; $custom-dark: #000000;
JSON
{
"hex": "#4172c2",
"rgb": {
"r": 65,
"g": 114,
"b": 194
},
"hsl": {
"h": 217.209,
"s": 51.394,
"l": 50.784
},
"oklch": {
"l": 0.55737,
"c": 0.13558,
"h": 259.7
},
"luminance": 0.17053
}Semantic roles & 50–950 ramp
primary
#4172C2
secondary
#CCB693
accent
#A54DDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83