#387EC3#387EC3

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

Color values

HEX#387EC3
RGBrgb(56, 126, 195)
HSLhsl(210, 55%, 49%)
HSVhsv(210, 71%, 76%)
CMYKcmyk(71.3%, 35.4%, 0%, 23.5%)
CIE-LABlab(51.50, 1.10, -42.35)
CIE-LCHlch(51.50, 42.36, 271.49°)
OKLaboklab(58.13% -0.0422 -0.1203)
OKLCHoklch(58.13% 0.128 250.7)
XYZxyz(18.9384, 19.7005, 54.4237)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387EC3 #C37D38
analogous
#38C3C3 #387EC3 #3839C3
triadic
#387EC3 #C3387E #7EC338
tetradic
#387EC3 #C338C3 #C37D38 #39C338
square
#387EC3 #C338C3 #C37D38 #39C338
split-complementary
#387EC3 #C33839 #C3C338
monochromatic
#1D4164 #2A5F93 #387EC3 #659CD3 #95BBE1

Accessibility & contrast

On white

4.25
#387EC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#387EC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387EC3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387EC3#FFFFFF#000000##000000
##387EC31.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #387ec3;
/* rgb */ color: rgb(56, 126, 195);
/* oklch */ color: oklch(58.1% 0.128 250.7);
Tailwind
colors: {
  custom: {
    50: '#7fa3d5',
    500: '#387ec3',
    950: '#000000',
  },
}
SCSS
$custom: #387ec3;
$custom-light: #7fa3d5;
$custom-dark: #000000;
JSON
{
  "hex": "#387ec3",
  "rgb": {
    "r": 56,
    "g": 126,
    "b": 195
  },
  "hsl": {
    "h": 209.784,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58132,
    "c": 0.12751,
    "h": 250.7
  },
  "luminance": 0.19703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #387EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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