#3981BA#3981BA

#3981BA is a mid, moderate cyan. Relative luminance 0.201; OKLCH L 58.4% C 0.113 H 245.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#3981BA
RGBrgb(57, 129, 186)
HSLhsl(207, 53%, 48%)
HSVhsv(207, 69%, 73%)
CMYKcmyk(69.4%, 30.6%, 0%, 27.1%)
CIE-LABlab(51.97, -3.73, -36.45)
CIE-LCHlch(51.97, 36.64, 264.16°)
OKLaboklab(58.36% -0.047 -0.1031)
OKLCHoklch(58.36% 0.113 245.5)
XYZxyz(18.3972, 20.1136, 49.3576)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3981BA #BA7239
analogous
#39BAB3 #3981BA #3940BA
triadic
#3981BA #BA3981 #81BA39
tetradic
#3981BA #B339BA #BA7239 #40BA39
square
#3981BA #B339BA #BA7239 #40BA39
split-complementary
#3981BA #BA3940 #BAB339
monochromatic
#1C405C #2B618B #3981BA #619ECF #90BBDD

Accessibility & contrast

On white

4.18
#3981BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#3981BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3981BA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3981BA#FFFFFF#000000##000000
##3981BA1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6783BC
Deuteranopia (green-blind)
#5676B9
Tritanopia (blue-blind)
#008F95
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3981ba;
/* rgb */ color: rgb(57, 129, 186);
/* oklch */ color: oklch(58.4% 0.113 245.5);
Tailwind
colors: {
  custom: {
    50: '#7ea5cf',
    500: '#3981ba',
    950: '#000000',
  },
}
SCSS
$custom: #3981ba;
$custom-light: #7ea5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3981ba",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 186
  },
  "hsl": {
    "h": 206.512,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58363,
    "c": 0.11333,
    "h": 245.5
  },
  "luminance": 0.20116
}

Semantic roles & 50–950 ramp

primary
#3981BA
secondary
#C8A487
accent
#8B4BDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #3981BA

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

Preview Lab → · Contrast checker → · Palette generator →

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