#387ECA#387ECA

#387ECA is a mid, vivid cyan. Relative luminance 0.200; OKLCH L 58.5% C 0.136 H 252.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#387ECA
RGBrgb(56, 126, 202)
HSLhsl(211, 58%, 51%)
HSVhsv(211, 72%, 79%)
CMYKcmyk(72.3%, 37.6%, 0%, 20.8%)
CIE-LABlab(51.86, 3.62, -45.76)
CIE-LCHlch(51.86, 45.90, 274.53°)
OKLaboklab(58.54% -0.0404 -0.1303)
OKLCHoklch(58.54% 0.136 252.8)
XYZxyz(19.7484, 20.0245, 58.6900)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387ECA #CA8438
analogous
#38C7CA #387ECA #3B38CA
triadic
#387ECA #CA387E #7ECA38
tetradic
#387ECA #CA38C7 #CA8438 #38CA3B
square
#387ECA #CA38C7 #CA8438 #38CA3B
split-complementary
#387ECA #CA3B38 #C7CA38
monochromatic
#1D426B #29609B #387ECA #689DD7 #99BDE4

Accessibility & contrast

On white

4.20
#387ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#387ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387ECA
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387ECA#FFFFFF#000000##000000
##387ECA1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CD
Deuteranopia (green-blind)
#4575C8
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #387eca;
/* rgb */ color: rgb(56, 126, 202);
/* oklch */ color: oklch(58.5% 0.136 252.8);
Tailwind
colors: {
  custom: {
    50: '#81a2da',
    500: '#387eca',
    950: '#000000',
  },
}
SCSS
$custom: #387eca;
$custom-light: #81a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#387eca",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 211.233,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5854,
    "c": 0.13643,
    "h": 252.8
  },
  "luminance": 0.20027
}

Semantic roles & 50–950 ramp

primary
#387ECA
secondary
#CFB08E
accent
#9747E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0F15
muted
#7D7E83

Preview Lab

Preview with #387ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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