#3981D6#3981D6

#3981D6 is a mid, vivid cyan. Relative luminance 0.214; OKLCH L 60.0% C 0.148 H 254.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#3981D6
RGBrgb(57, 129, 214)
HSLhsl(212, 66%, 53%)
HSVhsv(212, 73%, 84%)
CMYKcmyk(73.4%, 39.7%, 0%, 16.1%)
CIE-LABlab(53.41, 6.28, -50.10)
CIE-LCHlch(53.41, 50.49, 277.14°)
OKLaboklab(59.97% -0.0396 -0.143)
OKLCHoklch(59.97% 0.148 254.5)
XYZxyz(21.6707, 21.4230, 66.5982)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3981D6 #D68E39
analogous
#39CFD6 #3981D6 #3F39D6
triadic
#3981D6 #D63981 #81D639
tetradic
#3981D6 #D639CF #D68E39 #39D63F
square
#3981D6 #D639CF #D68E39 #39D63F
split-complementary
#3981D6 #D63F39 #CFD639
monochromatic
#19467B #2463AE #3981D6 #6CA1E0 #9EC2EB

Accessibility & contrast

On white

3.97
#3981D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#3981D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3981D6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3981D6#FFFFFF#000000##000000
##3981D61.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5987D9
Deuteranopia (green-blind)
#4079D4
Tritanopia (blue-blind)
#0095A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3981d6;
/* rgb */ color: rgb(57, 129, 214);
/* oklch */ color: oklch(60.0% 0.148 254.5);
Tailwind
colors: {
  custom: {
    50: '#83a5e3',
    500: '#3981d6',
    950: '#000000',
  },
}
SCSS
$custom: #3981d6;
$custom-light: #83a5e3;
$custom-dark: #000000;
JSON
{
  "hex": "#3981d6",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 214
  },
  "hsl": {
    "h": 212.484,
    "s": 65.69,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59966,
    "c": 0.14838,
    "h": 254.5
  },
  "luminance": 0.21425
}

Semantic roles & 50–950 ramp

primary
#3981D6
secondary
#D7B894
accent
#9B3FE9
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3981D6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3981D6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva