#3981AF#3981AF

#3981AF is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 57.8% C 0.101 H 239.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#3981AF
RGBrgb(57, 129, 175)
HSLhsl(203, 51%, 45%)
HSVhsv(203, 67%, 69%)
CMYKcmyk(67.4%, 26.3%, 0%, 31.4%)
CIE-LABlab(51.45, -7.54, -30.93)
CIE-LCHlch(51.45, 31.83, 256.29°)
OKLaboklab(57.79% -0.0506 -0.0871)
OKLCHoklch(57.79% 0.101 239.8)
XYZxyz(17.2725, 19.6637, 43.4343)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3981AF #AF6739
analogous
#39AFA2 #3981AF #3946AF
triadic
#3981AF #AF3981 #81AF39
tetradic
#3981AF #A239AF #AF6739 #46AF39
square
#3981AF #A239AF #AF6739 #46AF39
split-complementary
#3981AF #AF3946 #AFA239
monochromatic
#1B3D53 #2A5F81 #3981AF #5B9FCA #8ABAD9

Accessibility & contrast

On white

4.26
#3981AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#3981AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3981AF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3981AF#FFFFFF#000000##000000
##3981AF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C81B1
Deuteranopia (green-blind)
#5C75AE
Tritanopia (blue-blind)
#008D91
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3981af;
/* rgb */ color: rgb(57, 129, 175);
/* oklch */ color: oklch(57.8% 0.101 239.8);
Tailwind
colors: {
  custom: {
    50: '#7ca5c7',
    500: '#3981af',
    950: '#000000',
  },
}
SCSS
$custom: #3981af;
$custom-light: #7ca5c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3981af",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 175
  },
  "hsl": {
    "h": 203.39,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.57791,
    "c": 0.10069,
    "h": 239.8
  },
  "luminance": 0.19666
}

Semantic roles & 50–950 ramp

primary
#3981AF
secondary
#C39B81
accent
#844DDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3981AF

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

Preview Lab → · Contrast checker → · Palette generator →

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