#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
RGBrgb(57, 129, 204)
HSLhsl(211, 59%, 51%)
HSVhsv(211, 72%, 80%)
CMYKcmyk(72.1%, 36.8%, 0%, 20%)
CIE-LABlab(52.87, 2.67, -45.30)
CIE-LCHlch(52.87, 45.38, 273.37°)
OKLaboklab(59.37% -0.042 -0.1289)
OKLCHoklch(59.37% 0.136 251.9)
XYZxyz(20.4326, 20.9277, 60.0776)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

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
##3981CC1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.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

Preview Lab

Preview with #3981CC

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

Preview Lab → · Contrast checker → · Palette generator →

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