#3981D3#3981D3

#3981D3 is a mid, vivid cyan. Relative luminance 0.213; OKLCH L 59.8% C 0.145 H 253.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#3981D3
RGBrgb(57, 129, 211)
HSLhsl(212, 64%, 53%)
HSVhsv(212, 73%, 83%)
CMYKcmyk(73%, 38.9%, 0%, 17.3%)
CIE-LABlab(53.24, 5.19, -48.67)
CIE-LCHlch(53.24, 48.94, 276.09°)
OKLaboklab(59.79% -0.0403 -0.1388)
OKLCHoklch(59.79% 0.145 253.8)
XYZxyz(21.2911, 21.2711, 64.5990)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3981D3 #D38B39
analogous
#39CED3 #3981D3 #3E39D3
triadic
#3981D3 #D33981 #81D339
tetradic
#3981D3 #D339CE #D38B39 #39D33E
square
#3981D3 #D339CE #D38B39 #39D33E
split-complementary
#3981D3 #D33E39 #CED339
monochromatic
#1A4677 #2663A9 #3981D3 #6BA1DE #9DC1E9

Accessibility & contrast

On white

4.00
#3981D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#3981D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3981D3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3981D3#FFFFFF#000000##000000
##3981D31.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B87D6
Deuteranopia (green-blind)
#4379D1
Tritanopia (blue-blind)
#0094A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3981d3;
/* rgb */ color: rgb(57, 129, 211);
/* oklch */ color: oklch(59.8% 0.145 253.8);
Tailwind
colors: {
  custom: {
    50: '#83a5e1',
    500: '#3981d3',
    950: '#000000',
  },
}
SCSS
$custom: #3981d3;
$custom-light: #83a5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3981d3",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 211
  },
  "hsl": {
    "h": 211.948,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59785,
    "c": 0.14453,
    "h": 253.8
  },
  "luminance": 0.21274
}

Semantic roles & 50–950 ramp

primary
#3981D3
secondary
#D5B692
accent
#9941E7
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3981D3

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

Preview Lab → · Contrast checker → · Palette generator →

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