#387DC2#387DC2

#387DC2 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 57.8% C 0.127 H 251.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#387DC2
RGBrgb(56, 125, 194)
HSLhsl(210, 55%, 49%)
HSVhsv(210, 71%, 76%)
CMYKcmyk(71.1%, 35.6%, 0%, 23.9%)
CIE-LABlab(51.15, 1.35, -42.32)
CIE-LCHlch(51.15, 42.34, 271.82°)
OKLaboklab(57.85% -0.0415 -0.1203)
OKLCHoklch(57.85% 0.127 251)
XYZxyz(18.6985, 19.4010, 53.7878)
Luminance0.1940 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387DC2 #C27D38
analogous
#38C2C2 #387DC2 #3838C2
triadic
#387DC2 #C2387D #7DC238
tetradic
#387DC2 #C238C2 #C27D38 #38C238
square
#387DC2 #C238C2 #C27D38 #38C238
split-complementary
#387DC2 #C23838 #C2C238
monochromatic
#1D4063 #2A5E93 #387DC2 #659CD2 #94BAE0

Accessibility & contrast

On white

4.30
#387DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#387DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387DC2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387DC2#FFFFFF#000000##000000
##387DC21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E81C5
Deuteranopia (green-blind)
#4A74C1
Tritanopia (blue-blind)
#008D96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #387dc2;
/* rgb */ color: rgb(56, 125, 194);
/* oklch */ color: oklch(57.8% 0.127 251.0);
Tailwind
colors: {
  custom: {
    50: '#7fa2d5',
    500: '#387dc2',
    950: '#000000',
  },
}
SCSS
$custom: #387dc2;
$custom-light: #7fa2d5;
$custom-dark: #000000;
JSON
{
  "hex": "#387dc2",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 210,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57846,
    "c": 0.12722,
    "h": 251
  },
  "luminance": 0.19403
}

Semantic roles & 50–950 ramp

primary
#387DC2
secondary
#CBAB8A
accent
#9449DF
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #387DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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