#3981B1#3981B1

#3981B1 is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 57.9% C 0.103 H 241.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3981B1
RGBrgb(57, 129, 177)
HSLhsl(204, 51%, 46%)
HSVhsv(204, 68%, 69%)
CMYKcmyk(67.8%, 27.1%, 0%, 30.6%)
CIE-LABlab(51.55, -6.86, -31.94)
CIE-LCHlch(51.55, 32.67, 257.89°)
OKLaboklab(57.89% -0.0499 -0.09)
OKLCHoklch(57.89% 0.103 241)
XYZxyz(17.4704, 19.7428, 44.4765)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3981B1 #B16939
analogous
#39B1A5 #3981B1 #3945B1
triadic
#3981B1 #B13981 #81B139
tetradic
#3981B1 #A539B1 #B16939 #45B139
square
#3981B1 #A539B1 #B16939 #45B139
split-complementary
#3981B1 #B13945 #B1A539
monochromatic
#1B3E54 #2A5F83 #3981B1 #5D9FCB #8BBADA

Accessibility & contrast

On white

4.24
#3981B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#3981B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3981B1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3981B1#FFFFFF#000000##000000
##3981B11.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B81B3
Deuteranopia (green-blind)
#5B76B0
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3981b1;
/* rgb */ color: rgb(57, 129, 177);
/* oklch */ color: oklch(57.9% 0.103 241.0);
Tailwind
colors: {
  custom: {
    50: '#7da5c8',
    500: '#3981b1',
    950: '#000000',
  },
}
SCSS
$custom: #3981b1;
$custom-light: #7da5c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3981b1",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 177
  },
  "hsl": {
    "h": 204,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57893,
    "c": 0.1029,
    "h": 241
  },
  "luminance": 0.19745
}

Semantic roles & 50–950 ramp

primary
#3981B1
secondary
#C49C82
accent
#864DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3981B1

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

Preview Lab → · Contrast checker → · Palette generator →

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