#387EC2#387EC2

#387EC2 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.1% C 0.126 H 250.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#387EC2
RGBrgb(56, 126, 194)
HSLhsl(210, 55%, 49%)
HSVhsv(210, 71%, 76%)
CMYKcmyk(71.1%, 35.1%, 0%, 23.9%)
CIE-LABlab(51.45, 0.74, -41.86)
CIE-LCHlch(51.45, 41.87, 271.02°)
OKLaboklab(58.08% -0.0424 -0.1189)
OKLCHoklch(58.08% 0.126 250.4)
XYZxyz(18.8257, 19.6554, 53.8302)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387EC2 #C27C38
analogous
#38C2C1 #387EC2 #3839C2
triadic
#387EC2 #C2387E #7EC238
tetradic
#387EC2 #C138C2 #C27C38 #39C238
square
#387EC2 #C138C2 #C27C38 #39C238
split-complementary
#387EC2 #C23839 #C2C138
monochromatic
#1D4063 #2A5F93 #387EC2 #659CD2 #94BBE0

Accessibility & contrast

On white

4.26
#387EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#387EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387EC2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387EC2#FFFFFF#000000##000000
##387EC21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F82C5
Deuteranopia (green-blind)
#4B75C1
Tritanopia (blue-blind)
#008E97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #387ec2;
/* rgb */ color: rgb(56, 126, 194);
/* oklch */ color: oklch(58.1% 0.126 250.4);
Tailwind
colors: {
  custom: {
    50: '#7fa3d5',
    500: '#387ec2',
    950: '#000000',
  },
}
SCSS
$custom: #387ec2;
$custom-light: #7fa3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#387ec2",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 209.565,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58075,
    "c": 0.12625,
    "h": 250.4
  },
  "luminance": 0.19658
}

Semantic roles & 50–950 ramp

primary
#387EC2
secondary
#CBAA8A
accent
#9349DF
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #387EC2

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

Preview Lab → · Contrast checker → · Palette generator →

#387EC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva