#387FCA#387FCA

#387FCA is a mid, vivid cyan. Relative luminance 0.203; OKLCH L 58.8% C 0.135 H 252.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#387FCA
RGBrgb(56, 127, 202)
HSLhsl(211, 58%, 51%)
HSVhsv(211, 72%, 79%)
CMYKcmyk(72.3%, 37.1%, 0%, 20.8%)
CIE-LABlab(52.15, 3.02, -45.30)
CIE-LCHlch(52.15, 45.40, 273.81°)
OKLaboklab(58.77% -0.0413 -0.129)
OKLCHoklch(58.77% 0.135 252.2)
XYZxyz(19.8770, 20.2816, 58.7328)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387FCA #CA8338
analogous
#38C8CA #387FCA #3A38CA
triadic
#387FCA #CA387F #7FCA38
tetradic
#387FCA #CA38C8 #CA8338 #38CA3A
square
#387FCA #CA38C8 #CA8338 #38CA3A
split-complementary
#387FCA #CA3A38 #C8CA38
monochromatic
#1D436B #29619B #387FCA #689ED7 #99BDE4

Accessibility & contrast

On white

4.15
#387FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#387FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387FCA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387FCA#FFFFFF#000000##000000
##387FCA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D84CD
Deuteranopia (green-blind)
#4776C9
Tritanopia (blue-blind)
#00919B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #387fca;
/* rgb */ color: rgb(56, 127, 202);
/* oklch */ color: oklch(58.8% 0.135 252.2);
Tailwind
colors: {
  custom: {
    50: '#81a3da',
    500: '#387fca',
    950: '#000000',
  },
}
SCSS
$custom: #387fca;
$custom-light: #81a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#387fca",
  "rgb": {
    "r": 56,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 210.822,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58766,
    "c": 0.13541,
    "h": 252.2
  },
  "luminance": 0.20284
}

Semantic roles & 50–950 ramp

primary
#387FCA
secondary
#CFB08E
accent
#9647E1
background
#F8FAFD
surface
#F0F3FB
border
#CBCDD4
text
#0C0F15
muted
#7D7F83

Preview Lab

Preview with #387FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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