#3981BB#3981BB

#3981BB is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 58.4% C 0.115 H 245.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3981BB
RGBrgb(57, 129, 187)
HSLhsl(207, 53%, 48%)
HSVhsv(207, 70%, 73%)
CMYKcmyk(69.5%, 31%, 0%, 26.7%)
CIE-LABlab(52.01, -3.37, -36.95)
CIE-LCHlch(52.01, 37.11, 264.78°)
OKLaboklab(58.42% -0.0467 -0.1045)
OKLCHoklch(58.42% 0.115 245.9)
XYZxyz(18.5038, 20.1562, 49.9194)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3981BB #BB7339
analogous
#39BBB4 #3981BB #3940BB
triadic
#3981BB #BB3981 #81BB39
tetradic
#3981BB #B439BB #BB7339 #40BB39
square
#3981BB #B439BB #BB7339 #40BB39
split-complementary
#3981BB #BB3940 #BBB439
monochromatic
#1C405D #2B618C #3981BB #629ECF #91BBDD

Accessibility & contrast

On white

4.17
#3981BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#3981BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3981BB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3981BB#FFFFFF#000000##000000
##3981BB1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6783BE
Deuteranopia (green-blind)
#5576BA
Tritanopia (blue-blind)
#008F96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3981bb;
/* rgb */ color: rgb(57, 129, 187);
/* oklch */ color: oklch(58.4% 0.115 245.9);
Tailwind
colors: {
  custom: {
    50: '#7ea5cf',
    500: '#3981bb',
    950: '#000000',
  },
}
SCSS
$custom: #3981bb;
$custom-light: #7ea5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3981bb",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 206.769,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58417,
    "c": 0.11453,
    "h": 245.9
  },
  "luminance": 0.20158
}

Semantic roles & 50–950 ramp

primary
#3981BB
secondary
#C8A487
accent
#8C4BDD
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3981BB

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

Preview Lab → · Contrast checker → · Palette generator →

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