#3981BF#3981BF

#3981BF is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.6% C 0.119 H 247.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3981BF
RGBrgb(57, 129, 191)
HSLhsl(208, 54%, 49%)
HSVhsv(208, 70%, 75%)
CMYKcmyk(70.2%, 32.5%, 0%, 25.1%)
CIE-LABlab(52.21, -1.97, -38.94)
CIE-LCHlch(52.21, 38.99, 267.11°)
OKLaboklab(58.63% -0.0456 -0.1103)
OKLCHoklch(58.63% 0.119 247.6)
XYZxyz(18.9380, 20.3299, 52.2061)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3981BF #BF7739
analogous
#39BFBA #3981BF #393EBF
triadic
#3981BF #BF3981 #81BF39
tetradic
#3981BF #BA39BF #BF7739 #3EBF39
square
#3981BF #BA39BF #BF7739 #3EBF39
split-complementary
#3981BF #BF393E #BFBA39
monochromatic
#1D4161 #2B6190 #3981BF #649FD1 #93BCDF

Accessibility & contrast

On white

4.14
#3981BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#3981BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3981BF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3981BF#FFFFFF#000000##000000
##3981BF1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6584C2
Deuteranopia (green-blind)
#5277BE
Tritanopia (blue-blind)
#009097
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3981bf;
/* rgb */ color: rgb(57, 129, 191);
/* oklch */ color: oklch(58.6% 0.119 247.6);
Tailwind
colors: {
  custom: {
    50: '#7fa5d2',
    500: '#3981bf',
    950: '#000000',
  },
}
SCSS
$custom: #3981bf;
$custom-light: #7fa5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3981bf",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 191
  },
  "hsl": {
    "h": 207.761,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58634,
    "c": 0.11937,
    "h": 247.6
  },
  "luminance": 0.20332
}

Semantic roles & 50–950 ramp

primary
#3981BF
secondary
#CAA78A
accent
#8E4ADD
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3981BF

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

Preview Lab → · Contrast checker → · Palette generator →

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