#4A7FAC#4A7FAC
#4A7FAC is a mid, moderate cyan. Relative luminance 0.196; OKLCH L 57.9% C 0.090 H 245.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4A7FAC |
|---|---|
| RGB | rgb(74, 127, 172) |
| HSL | hsl(208, 40%, 48%) |
| HSV | hsv(208, 57%, 67%) |
| CMYK | cmyk(57%, 26.2%, 0%, 32.5%) |
| CIE-LAB | lab(51.40, -4.13, -29.23) |
| CIE-LCH | lch(51.40, 29.52, 261.97°) |
| OKLab | oklab(57.89% -0.0368 -0.082) |
| OKLCH | oklch(57.89% 0.09 245.8) |
| XYZ | xyz(17.8571, 19.6116, 41.8661) |
| Luminance | 0.1961 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 1.49
Cool Blue
#4984B8
ΔE00 2.25
Off Blue
#5684AE
ΔE00 2.35
Stormy Blue
#507B9C
ΔE00 3.09
Dusty Blue
#5A86AD
ΔE00 3.21
Windows Blue
#3778BF
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A7FAC #AC774A
analogous
#4AACA8 #4A7FAC #4A4EAC
triadic
#4A7FAC #AC4A7F #7FAC4A
tetradic
#4A7FAC #A84AAC #AC774A #4EAC4A
square
#4A7FAC #A84AAC #AC774A #4EAC4A
split-complementary
#4A7FAC #AC4A4E #ACA84A
monochromatic
#254056 #385F81 #4A7FAC #719DC2 #9CBBD4
Accessibility & contrast
On white
4.27
#4A7FAC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#4A7FAC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #4A7FAC
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A7FAC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##4A7FAC | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C80AE
Deuteranopia (green-blind)
#5F76AB
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #4a7fac; /* rgb */ color: rgb(74, 127, 172); /* oklch */ color: oklch(57.9% 0.090 245.8);
Tailwind
colors: {
custom: {
50: '#84a4c5',
500: '#4a7fac',
950: '#000000',
},
}SCSS
$custom: #4a7fac; $custom-light: #84a4c5; $custom-dark: #000000;
JSON
{
"hex": "#4a7fac",
"rgb": {
"r": 74,
"g": 127,
"b": 172
},
"hsl": {
"h": 207.551,
"s": 39.837,
"l": 48.235
},
"oklch": {
"l": 0.57886,
"c": 0.08989,
"h": 245.8
},
"luminance": 0.19613
}Semantic roles & 50–950 ramp
primary
#4A7FAC
secondary
#C1A791
accent
#8F58D0
background
#F8FAFC
surface
#F0F3F8
border
#CBCDD1
text
#0B0F12
muted
#7C7F81