#387DCA#387DCA

#387DCA is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.3% C 0.137 H 253.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#387DCA
RGBrgb(56, 125, 202)
HSLhsl(212, 58%, 51%)
HSVhsv(212, 72%, 79%)
CMYKcmyk(72.3%, 38.1%, 0%, 20.8%)
CIE-LABlab(51.58, 4.23, -46.22)
CIE-LCHlch(51.58, 46.41, 275.23°)
OKLaboklab(58.32% -0.0394 -0.1317)
OKLCHoklch(58.32% 0.137 253.3)
XYZxyz(19.6212, 19.7701, 58.6476)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387DCA #CA8538
analogous
#38C6CA #387DCA #3C38CA
triadic
#387DCA #CA387D #7DCA38
tetradic
#387DCA #CA38C6 #CA8538 #38CA3C
square
#387DCA #CA38C6 #CA8538 #38CA3C
split-complementary
#387DCA #CA3C38 #C6CA38
monochromatic
#1D426B #295F9B #387DCA #689DD7 #99BCE4

Accessibility & contrast

On white

4.24
#387DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#387DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387DCA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387DCA#FFFFFF#000000##000000
##387DCA1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CD
Deuteranopia (green-blind)
#4375C8
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #387dca;
/* rgb */ color: rgb(56, 125, 202);
/* oklch */ color: oklch(58.3% 0.137 253.3);
Tailwind
colors: {
  custom: {
    50: '#81a2da',
    500: '#387dca',
    950: '#000000',
  },
}
SCSS
$custom: #387dca;
$custom-light: #81a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#387dca",
  "rgb": {
    "r": 56,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 211.644,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58315,
    "c": 0.13746,
    "h": 253.3
  },
  "luminance": 0.19772
}

Semantic roles & 50–950 ramp

primary
#387DCA
secondary
#CFB18E
accent
#9847E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #387DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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