#3987AC#3987AC
#3987AC is a mid, moderate cyan. Relative luminance 0.212; OKLCH L 59.1% C 0.094 H 232.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #3987AC |
|---|---|
| RGB | rgb(57, 135, 172) |
| HSL | hsl(199, 50%, 45%) |
| HSV | hsv(199, 67%, 67%) |
| CMYK | cmyk(66.9%, 21.5%, 0%, 32.5%) |
| CIE-LAB | lab(53.14, -11.98, -26.58) |
| CIE-LCH | lch(53.14, 29.15, 245.74°) |
| OKLab | oklab(59.09% -0.058 -0.0745) |
| OKLCH | oklch(59.09% 0.094 232.1) |
| XYZ | xyz(17.7948, 21.1745, 42.1710) |
| Luminance | 0.2118 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 3.45
Cerulean
#007BA7
ΔE00 5.28
Steel Blue
#4682B4
ΔE00 5.61
Dusty Blue
#5A86AD
ΔE00 5.95
Cool Blue
#4984B8
ΔE00 6.03
Off Blue
#5684AE
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3987AC #AC5E39
analogous
#39AC97 #3987AC #394EAC
triadic
#3987AC #AC3987 #87AC39
tetradic
#3987AC #9739AC #AC5E39 #4EAC39
square
#3987AC #9739AC #AC5E39 #4EAC39
split-complementary
#3987AC #AC394E #AC9739
monochromatic
#1B3F50 #2A637E #3987AC #5AA5C8 #88BED8
Accessibility & contrast
On white
4.01
#3987AC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.24
#3987AC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3987AC
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3987AC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3987AC | 1.00 | 4.01 | 5.24 | 5.24 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7585AE
Deuteranopia (green-blind)
#657AAB
Tritanopia (blue-blind)
#009193
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #3987ac; /* rgb */ color: rgb(57, 135, 172); /* oklch */ color: oklch(59.1% 0.094 232.1);
Tailwind
colors: {
custom: {
50: '#7caac5',
500: '#3987ac',
950: '#000000',
},
}SCSS
$custom: #3987ac; $custom-light: #7caac5; $custom-dark: #000000;
JSON
{
"hex": "#3987ac",
"rgb": {
"r": 57,
"g": 135,
"b": 172
},
"hsl": {
"h": 199.304,
"s": 50.218,
"l": 44.902
},
"oklch": {
"l": 0.59087,
"c": 0.09439,
"h": 232.1
},
"luminance": 0.21176
}Semantic roles & 50–950 ramp
primary
#3987AC
secondary
#C2957F
accent
#7B4EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1012
muted
#7C7F81