#4074C1#4074C1
#4074C1 is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.1% C 0.132 H 258.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #4074C1 |
|---|---|
| RGB | rgb(64, 116, 193) |
| HSL | hsl(216, 51%, 50%) |
| HSV | hsv(216, 67%, 76%) |
| CMYK | cmyk(66.8%, 39.9%, 0%, 24.3%) |
| CIE-LAB | lab(48.80, 7.74, -45.47) |
| CIE-LCH | lch(48.80, 46.12, 279.66°) |
| OKLab | oklab(56.07% -0.0272 -0.1295) |
| OKLCH | oklch(56.07% 0.132 258.1) |
| XYZ | xyz(17.9819, 17.4292, 52.8583) |
| Luminance | 0.1743 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Windows Blue
#3778BF
ΔE00 2.53
Medium Blue
#2C6FBB
ΔE00 2.93
Flat Blue
#3C73A8
ΔE00 3.63
Bluish
#2976BB
ΔE00 3.82
French Blue
#436BAD
ΔE00 4.07
Mid Blue
#276AB3
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4074C1 #C18D40
analogous
#40B4C1 #4074C1 #4C40C1
triadic
#4074C1 #C14074 #74C140
tetradic
#4074C1 #C140B4 #C18D40 #40C14C
square
#4074C1 #C140B4 #C18D40 #40C14C
split-complementary
#4074C1 #C14C40 #B4C140
monochromatic
#213D66 #305894 #4074C1 #6E96D0 #9CB7DF
Accessibility & contrast
On white
4.68
#4074C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#4074C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4074C1
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4074C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4074C1 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#517AC4
Deuteranopia (green-blind)
#3E6EBF
Tritanopia (blue-blind)
#008691
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #4074c1; /* rgb */ color: rgb(64, 116, 193); /* oklch */ color: oklch(56.1% 0.132 258.1);
Tailwind
colors: {
custom: {
50: '#829bd4',
500: '#4074c1',
950: '#000000',
},
}SCSS
$custom: #4074c1; $custom-light: #829bd4; $custom-dark: #000000;
JSON
{
"hex": "#4074c1",
"rgb": {
"r": 64,
"g": 116,
"b": 193
},
"hsl": {
"h": 215.814,
"s": 50.988,
"l": 50.392
},
"oklch": {
"l": 0.56073,
"c": 0.13233,
"h": 258.1
},
"luminance": 0.17431
}Semantic roles & 50–950 ramp
primary
#4074C1
secondary
#CBB492
accent
#A24DDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83