#3981BD#3981BD

#3981BD is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 58.5% C 0.117 H 246.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#3981BD
RGBrgb(57, 129, 189)
HSLhsl(207, 54%, 48%)
HSVhsv(207, 70%, 74%)
CMYKcmyk(69.8%, 31.7%, 0%, 25.9%)
CIE-LABlab(52.11, -2.67, -37.95)
CIE-LCHlch(52.11, 38.04, 265.97°)
OKLaboklab(58.53% -0.0461 -0.1074)
OKLCHoklch(58.53% 0.117 246.8)
XYZxyz(18.7194, 20.2425, 51.0549)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3981BD #BD7539
analogous
#39BDB7 #3981BD #393FBD
triadic
#3981BD #BD3981 #81BD39
tetradic
#3981BD #B739BD #BD7539 #3FBD39
square
#3981BD #B739BD #BD7539 #3FBD39
split-complementary
#3981BD #BD393F #BDB739
monochromatic
#1D415F #2B618E #3981BD #639FD0 #92BCDE

Accessibility & contrast

On white

4.16
#3981BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#3981BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3981BD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3981BD#FFFFFF#000000##000000
##3981BD1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6683C0
Deuteranopia (green-blind)
#5477BC
Tritanopia (blue-blind)
#008F96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3981bd;
/* rgb */ color: rgb(57, 129, 189);
/* oklch */ color: oklch(58.5% 0.117 246.8);
Tailwind
colors: {
  custom: {
    50: '#7fa5d1',
    500: '#3981bd',
    950: '#000000',
  },
}
SCSS
$custom: #3981bd;
$custom-light: #7fa5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3981bd",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 189
  },
  "hsl": {
    "h": 207.273,
    "s": 53.659,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58525,
    "c": 0.11693,
    "h": 246.8
  },
  "luminance": 0.20244
}

Semantic roles & 50–950 ramp

primary
#3981BD
secondary
#C9A689
accent
#8D4BDD
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3981BD

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

Preview Lab → · Contrast checker → · Palette generator →

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