#3981CC#3981CC
#3981CC is a mid, vivid cyan. Relative luminance 0.209; OKLCH L 59.4% C 0.136 H 251.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #3981CC |
|---|---|
| RGB | rgb(57, 129, 204) |
| HSL | hsl(211, 59%, 51%) |
| HSV | hsv(211, 72%, 80%) |
| CMYK | cmyk(72.1%, 36.8%, 0%, 20%) |
| CIE-LAB | lab(52.87, 2.67, -45.30) |
| CIE-LCH | lch(52.87, 45.38, 273.37°) |
| OKLab | oklab(59.37% -0.042 -0.1289) |
| OKLCH | oklch(59.37% 0.136 251.9) |
| XYZ | xyz(20.4326, 20.9277, 60.0776) |
| Luminance | 0.2093 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Cool Blue
#4984B8
ΔE00 2.68
Steel Blue
#4682B4
ΔE00 3.02
Windows Blue
#3778BF
ΔE00 3.52
Cerulean (survey)
#0485D1
ΔE00 3.74
Off Blue
#5684AE
ΔE00 4.28
Bluish
#2976BB
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3981CC #CC8439
analogous
#39CACC #3981CC #3A39CC
triadic
#3981CC #CC3981 #81CC39
tetradic
#3981CC #CC39CA #CC8439 #39CC3A
square
#3981CC #CC39CA #CC8439 #39CC3A
split-complementary
#3981CC #CC3A39 #CACC39
monochromatic
#1C446E #29639F #3981CC #6AA0D9 #9ABFE5
Accessibility & contrast
On white
4.05
#3981CC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#3981CC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3981CC
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3981CC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3981CC | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F86CF
Deuteranopia (green-blind)
#4978CB
Tritanopia (blue-blind)
#00939D
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #3981cc; /* rgb */ color: rgb(57, 129, 204); /* oklch */ color: oklch(59.4% 0.136 251.9);
Tailwind
colors: {
custom: {
50: '#81a5dc',
500: '#3981cc',
950: '#000000',
},
}SCSS
$custom: #3981cc; $custom-light: #81a5dc; $custom-dark: #000000;
JSON
{
"hex": "#3981cc",
"rgb": {
"r": 57,
"g": 129,
"b": 204
},
"hsl": {
"h": 210.612,
"s": 59.036,
"l": 51.176
},
"oklch": {
"l": 0.5937,
"c": 0.13559,
"h": 251.9
},
"luminance": 0.2093
}Semantic roles & 50–950 ramp
primary
#3981CC
secondary
#D1B190
accent
#9546E2
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83