#3981D1#3981D1

#3981D1 is a mid, vivid cyan. Relative luminance 0.212; OKLCH L 59.7% C 0.142 H 253.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#3981D1
RGBrgb(57, 129, 209)
HSLhsl(212, 62%, 52%)
HSVhsv(212, 73%, 82%)
CMYKcmyk(72.7%, 38.3%, 0%, 18%)
CIE-LABlab(53.14, 4.47, -47.71)
CIE-LCHlch(53.14, 47.92, 275.35°)
OKLaboklab(59.67% -0.0408 -0.136)
OKLCHoklch(59.67% 0.142 253.3)
XYZxyz(21.0419, 21.1715, 63.2868)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3981D1 #D18939
analogous
#39CDD1 #3981D1 #3D39D1
triadic
#3981D1 #D13981 #81D139
tetradic
#3981D1 #D139CD #D18939 #39D13D
square
#3981D1 #D139CD #D18939 #39D13D
split-complementary
#3981D1 #D13D39 #CDD139
monochromatic
#1B4575 #2763A6 #3981D1 #6BA1DD #9CC0E8

Accessibility & contrast

On white

4.01
#3981D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#3981D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3981D1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3981D1#FFFFFF#000000##000000
##3981D11.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C87D4
Deuteranopia (green-blind)
#4478CF
Tritanopia (blue-blind)
#00949F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3981d1;
/* rgb */ color: rgb(57, 129, 209);
/* oklch */ color: oklch(59.7% 0.142 253.3);
Tailwind
colors: {
  custom: {
    50: '#82a5df',
    500: '#3981d1',
    950: '#000000',
  },
}
SCSS
$custom: #3981d1;
$custom-light: #82a5df;
$custom-dark: #000000;
JSON
{
  "hex": "#3981d1",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 209
  },
  "hsl": {
    "h": 211.579,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59665,
    "c": 0.14197,
    "h": 253.3
  },
  "luminance": 0.21174
}

Semantic roles & 50–950 ramp

primary
#3981D1
secondary
#D4B592
accent
#9842E5
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3981D1

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

Preview Lab → · Contrast checker → · Palette generator →

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