#3988DC#3988DC

#3988DC is a mid, vivid cyan. Relative luminance 0.236; OKLCH L 61.9% C 0.149 H 252.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#3988DC
RGBrgb(57, 136, 220)
HSLhsl(211, 70%, 54%)
HSVhsv(211, 74%, 86%)
CMYKcmyk(74.1%, 38.2%, 0%, 13.7%)
CIE-LABlab(55.73, 4.22, -49.78)
CIE-LCHlch(55.73, 49.96, 274.85°)
OKLaboklab(61.88% -0.0445 -0.1419)
OKLCHoklch(61.88% 0.149 252.6)
XYZxyz(23.4049, 23.6428, 71.0263)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3988DC #DC8D39
analogous
#39DADC #3988DC #3C39DC
triadic
#3988DC #DC3988 #88DC39
tetradic
#3988DC #DC39DA #DC8D39 #39DC3C
square
#3988DC #DC39DA #DC8D39 #39DC3C
split-complementary
#3988DC #DC3C39 #DADC39
monochromatic
#174C83 #206AB7 #3988DC #6DA7E5 #A1C7EE

Accessibility & contrast

On white

3.67
#3988DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#3988DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3988DC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3988DC#FFFFFF#000000##000000
##3988DC1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EDF
Deuteranopia (green-blind)
#477FDA
Tritanopia (blue-blind)
#009CA7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #3988dc;
/* rgb */ color: rgb(57, 136, 220);
/* oklch */ color: oklch(61.9% 0.149 252.6);
Tailwind
colors: {
  custom: {
    50: '#84aae7',
    500: '#3988dc',
    950: '#000000',
  },
}
SCSS
$custom: #3988dc;
$custom-light: #84aae7;
$custom-dark: #000000;
JSON
{
  "hex": "#3988dc",
  "rgb": {
    "r": 57,
    "g": 136,
    "b": 220
  },
  "hsl": {
    "h": 210.92,
    "s": 69.957,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61881,
    "c": 0.14876,
    "h": 252.6
  },
  "luminance": 0.23645
}

Semantic roles & 50–950 ramp

primary
#3988DC
secondary
#DBB996
accent
#973BED
background
#F8FAFE
surface
#F0F4FC
border
#CBCED5
text
#0C0F16
muted
#7D7F84

Preview Lab

Preview with #3988DC

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

Preview Lab → · Contrast checker → · Palette generator →

#3988DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva