#3981B4#3981B4

#3981B4 is a mid, moderate cyan. Relative luminance 0.199; OKLCH L 58.0% C 0.106 H 242.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3981B4
RGBrgb(57, 129, 180)
HSLhsl(205, 52%, 46%)
HSVhsv(205, 68%, 71%)
CMYKcmyk(68.3%, 28.3%, 0%, 29.4%)
CIE-LABlab(51.68, -5.82, -33.45)
CIE-LCHlch(51.68, 33.95, 260.13°)
OKLaboklab(58.05% -0.0489 -0.0944)
OKLCHoklch(58.05% 0.106 242.6)
XYZxyz(17.7727, 19.8638, 46.0686)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3981B4 #B46C39
analogous
#39B4AA #3981B4 #3944B4
triadic
#3981B4 #B43981 #81B439
tetradic
#3981B4 #AA39B4 #B46C39 #44B439
square
#3981B4 #AA39B4 #B46C39 #44B439
split-complementary
#3981B4 #B43944 #B4AA39
monochromatic
#1C3E57 #2A6086 #3981B4 #5E9ECC #8DBADB

Accessibility & contrast

On white

4.22
#3981B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#3981B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3981B4
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3981B4#FFFFFF#000000##000000
##3981B41.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A82B6
Deuteranopia (green-blind)
#5976B3
Tritanopia (blue-blind)
#008E93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3981b4;
/* rgb */ color: rgb(57, 129, 180);
/* oklch */ color: oklch(58.0% 0.106 242.6);
Tailwind
colors: {
  custom: {
    50: '#7da5ca',
    500: '#3981b4',
    950: '#000000',
  },
}
SCSS
$custom: #3981b4;
$custom-light: #7da5ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3981b4",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 180
  },
  "hsl": {
    "h": 204.878,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58047,
    "c": 0.1063,
    "h": 242.6
  },
  "luminance": 0.19866
}

Semantic roles & 50–950 ramp

primary
#3981B4
secondary
#C59F83
accent
#884CDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #3981B4

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

Preview Lab → · Contrast checker → · Palette generator →

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