#3987CA#3987CA

#3987CA is a mid, vivid cyan. Relative luminance 0.225; OKLCH L 60.6% C 0.127 H 247.8°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#3987CA
RGBrgb(57, 135, 202)
HSLhsl(208, 58%, 51%)
HSVhsv(208, 72%, 79%)
CMYKcmyk(71.8%, 33.2%, 0%, 20.8%)
CIE-LABlab(54.51, -1.62, -41.57)
CIE-LCHlch(54.51, 41.60, 267.77°)
OKLaboklab(60.62% -0.0482 -0.1179)
OKLCHoklch(60.62% 0.127 247.8)
XYZxyz(21.0079, 22.4597, 59.0937)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3987CA #CA7C39
analogous
#39CAC4 #3987CA #393ECA
triadic
#3987CA #CA3987 #87CA39
tetradic
#3987CA #C439CA #CA7C39 #3ECA39
square
#3987CA #C439CA #CA7C39 #3ECA39
split-complementary
#3987CA #CA393E #CAC439
monochromatic
#1D476C #2A679C #3987CA #69A4D7 #9AC2E4

Accessibility & contrast

On white

3.82
#3987CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#3987CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3987CA
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3987CA#FFFFFF#000000##000000
##3987CA1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ACD
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#00979F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3987ca;
/* rgb */ color: rgb(57, 135, 202);
/* oklch */ color: oklch(60.6% 0.127 247.8);
Tailwind
colors: {
  custom: {
    50: '#81a9da',
    500: '#3987ca',
    950: '#000000',
  },
}
SCSS
$custom: #3987ca;
$custom-light: #81a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#3987ca",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 207.724,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60624,
    "c": 0.12741,
    "h": 247.8
  },
  "luminance": 0.22462
}

Semantic roles & 50–950 ramp

primary
#3987CA
secondary
#D0AD8F
accent
#8E47E1
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #3987CA

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

Preview Lab → · Contrast checker → · Palette generator →

#3987CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva