#3981AC#3981AC

#3981AC is a mid, moderate cyan. Relative luminance 0.195; OKLCH L 57.6% C 0.097 H 238.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3981AC
RGBrgb(57, 129, 172)
HSLhsl(202, 50%, 45%)
HSVhsv(202, 67%, 67%)
CMYKcmyk(66.9%, 25%, 0%, 32.5%)
CIE-LABlab(51.32, -8.57, -29.40)
CIE-LCHlch(51.32, 30.62, 253.75°)
OKLaboklab(57.64% -0.0516 -0.0827)
OKLCHoklch(57.64% 0.097 238)
XYZxyz(16.9811, 19.5471, 41.8998)
Luminance0.1955 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3981AC #AC6439
analogous
#39AC9E #3981AC #3947AC
triadic
#3981AC #AC3981 #81AC39
tetradic
#3981AC #9E39AC #AC6439 #47AC39
square
#3981AC #9E39AC #AC6439 #47AC39
split-complementary
#3981AC #AC3947 #AC9E39
monochromatic
#1B3C50 #2A5F7E #3981AC #5A9FC8 #88BAD8

Accessibility & contrast

On white

4.28
#3981AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#3981AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3981AC
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3981AC#FFFFFF#000000##000000
##3981AC1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D81AE
Deuteranopia (green-blind)
#5D75AB
Tritanopia (blue-blind)
#008C90
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3981ac;
/* rgb */ color: rgb(57, 129, 172);
/* oklch */ color: oklch(57.6% 0.097 238.0);
Tailwind
colors: {
  custom: {
    50: '#7ca5c5',
    500: '#3981ac',
    950: '#000000',
  },
}
SCSS
$custom: #3981ac;
$custom-light: #7ca5c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3981ac",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 172
  },
  "hsl": {
    "h": 202.435,
    "s": 50.218,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57642,
    "c": 0.09745,
    "h": 238
  },
  "luminance": 0.19549
}

Semantic roles & 50–950 ramp

primary
#3981AC
secondary
#C2987F
accent
#824EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #3981AC

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

Preview Lab → · Contrast checker → · Palette generator →

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