#3981E2#3981E2

#3981E2 is a mid, vivid cyan. Relative luminance 0.221; OKLCH L 60.7% C 0.164 H 256.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#3981E2
RGBrgb(57, 129, 226)
HSLhsl(214, 74%, 55%)
HSVhsv(214, 75%, 89%)
CMYKcmyk(74.8%, 42.9%, 0%, 11.4%)
CIE-LABlab(54.09, 10.64, -55.76)
CIE-LCHlch(54.09, 56.77, 280.80°)
OKLaboklab(60.72% -0.0371 -0.1596)
OKLCHoklch(60.72% 0.164 256.9)
XYZxyz(23.2600, 22.0587, 74.9686)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3981E2 #E29A39
analogous
#39D5E2 #3981E2 #4539E2
triadic
#3981E2 #E23981 #81E239
tetradic
#3981E2 #E239D5 #E29A39 #39E245
square
#3981E2 #E239D5 #E29A39 #39E245
split-complementary
#3981E2 #E24539 #D5E239
monochromatic
#15478C #1C63C1 #3981E2 #6EA3EA #A4C5F2

Accessibility & contrast

On white

3.88
#3981E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#3981E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3981E2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3981E2#FFFFFF#000000##000000
##3981E21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#518AE6
Deuteranopia (green-blind)
#317AE0
Tritanopia (blue-blind)
#0098A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #3981e2;
/* rgb */ color: rgb(57, 129, 226);
/* oklch */ color: oklch(60.7% 0.164 256.9);
Tailwind
colors: {
  custom: {
    50: '#85a5ec',
    500: '#3981e2',
    950: '#000000',
  },
}
SCSS
$custom: #3981e2;
$custom-light: #85a5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3981e2",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 214.438,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60715,
    "c": 0.16388,
    "h": 256.9
  },
  "luminance": 0.22061
}

Semantic roles & 50–950 ramp

primary
#3981E2
secondary
#DFC198
accent
#A237F1
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #3981E2

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

Preview Lab → · Contrast checker → · Palette generator →

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