#3981CB#3981CB

#3981CB is a mid, vivid cyan. Relative luminance 0.209; OKLCH L 59.3% C 0.134 H 251.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#3981CB
RGBrgb(57, 129, 203)
HSLhsl(210, 58%, 51%)
HSVhsv(210, 72%, 80%)
CMYKcmyk(71.9%, 36.5%, 0%, 20.4%)
CIE-LABlab(52.82, 2.31, -44.81)
CIE-LCHlch(52.82, 44.87, 272.95°)
OKLaboklab(59.31% -0.0423 -0.1275)
OKLCHoklch(59.31% 0.134 251.7)
XYZxyz(20.3131, 20.8799, 59.4480)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3981CB #CB8339
analogous
#39CACB #3981CB #3A39CB
triadic
#3981CB #CB3981 #81CB39
tetradic
#3981CB #CB39CA #CB8339 #39CB3A
square
#3981CB #CB39CA #CB8339 #39CB3A
split-complementary
#3981CB #CB3A39 #CACB39
monochromatic
#1D446D #29639D #3981CB #69A0D8 #9ABFE4

Accessibility & contrast

On white

4.06
#3981CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#3981CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3981CB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3981CB#FFFFFF#000000##000000
##3981CB1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F86CE
Deuteranopia (green-blind)
#4A78CA
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3981cb;
/* rgb */ color: rgb(57, 129, 203);
/* oklch */ color: oklch(59.3% 0.134 251.7);
Tailwind
colors: {
  custom: {
    50: '#81a5db',
    500: '#3981cb',
    950: '#000000',
  },
}
SCSS
$custom: #3981cb;
$custom-light: #81a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#3981cb",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 210.411,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59312,
    "c": 0.13432,
    "h": 251.7
  },
  "luminance": 0.20882
}

Semantic roles & 50–950 ramp

primary
#3981CB
secondary
#D0B090
accent
#9546E2
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3981CB

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

Preview Lab → · Contrast checker → · Palette generator →

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