#3988E2#3988E2

#3988E2 is a light, vivid cyan. Relative luminance 0.240; OKLCH L 62.2% C 0.156 H 254.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3988E2
RGBrgb(57, 136, 226)
HSLhsl(212, 74%, 55%)
HSVhsv(212, 75%, 89%)
CMYKcmyk(74.8%, 39.8%, 0%, 11.4%)
CIE-LABlab(56.05, 6.39, -52.62)
CIE-LCHlch(56.05, 53.01, 276.92°)
OKLaboklab(62.24% -0.0431 -0.1503)
OKLCHoklch(62.24% 0.156 254)
XYZxyz(24.2139, 23.9664, 75.2866)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3988E2 #E29339
analogous
#39DCE2 #3988E2 #3F39E2
triadic
#3988E2 #E23988 #88E239
tetradic
#3988E2 #E239DC #E29339 #39E23F
square
#3988E2 #E239DC #E29339 #39E23F
split-complementary
#3988E2 #E23F39 #DCE239
monochromatic
#154C8C #1C6AC1 #3988E2 #6EA8EA #A4C8F2

Accessibility & contrast

On white

3.62
#3988E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#3988E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3988E2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3988E2#FFFFFF#000000##000000
##3988E21.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8FE6
Deuteranopia (green-blind)
#417FE0
Tritanopia (blue-blind)
#009DAA
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #3988e2;
/* rgb */ color: rgb(57, 136, 226);
/* oklch */ color: oklch(62.2% 0.156 254.0);
Tailwind
colors: {
  custom: {
    50: '#85aaeb',
    500: '#3988e2',
    950: '#000000',
  },
}
SCSS
$custom: #3988e2;
$custom-light: #85aaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#3988e2",
  "rgb": {
    "r": 57,
    "g": 136,
    "b": 226
  },
  "hsl": {
    "h": 211.953,
    "s": 74.449,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62241,
    "c": 0.15634,
    "h": 254
  },
  "luminance": 0.23969
}

Semantic roles & 50–950 ramp

primary
#3988E2
secondary
#DFBE98
accent
#9A37F1
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #3988E2

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

Preview Lab → · Contrast checker → · Palette generator →

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