#3981BC#3981BC

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

Color values

HEX#3981BC
RGBrgb(57, 129, 188)
HSLhsl(207, 53%, 48%)
HSVhsv(207, 70%, 74%)
CMYKcmyk(69.7%, 31.4%, 0%, 26.3%)
CIE-LABlab(52.06, -3.02, -37.45)
CIE-LCHlch(52.06, 37.57, 265.38°)
OKLaboklab(58.47% -0.0464 -0.106)
OKLCHoklch(58.47% 0.116 246.3)
XYZxyz(18.6113, 20.1992, 50.4852)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3981BC #BC7439
analogous
#39BCB5 #3981BC #393FBC
triadic
#3981BC #BC3981 #81BC39
tetradic
#3981BC #B539BC #BC7439 #3FBC39
square
#3981BC #B539BC #BC7439 #3FBC39
split-complementary
#3981BC #BC393F #BCB539
monochromatic
#1D415E #2B618D #3981BC #639FD0 #92BBDE

Accessibility & contrast

On white

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

On black

5.04
#3981BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3981BC
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3981BC#FFFFFF#000000##000000
##3981BC1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6783BF
Deuteranopia (green-blind)
#5477BB
Tritanopia (blue-blind)
#008F96
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3981bc;
/* rgb */ color: rgb(57, 129, 188);
/* oklch */ color: oklch(58.5% 0.116 246.3);
Tailwind
colors: {
  custom: {
    50: '#7fa5d0',
    500: '#3981bc',
    950: '#000000',
  },
}
SCSS
$custom: #3981bc;
$custom-light: #7fa5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3981bc",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 207.023,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5847,
    "c": 0.11572,
    "h": 246.3
  },
  "luminance": 0.20201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3981BC

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

Preview Lab → · Contrast checker → · Palette generator →

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