#387BCA#387BCA

#387BCA is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.9% C 0.140 H 254.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#387BCA
RGBrgb(56, 123, 202)
HSLhsl(212, 58%, 51%)
HSVhsv(212, 72%, 79%)
CMYKcmyk(72.3%, 39.1%, 0%, 20.8%)
CIE-LABlab(51.00, 5.45, -47.13)
CIE-LCHlch(51.00, 47.45, 276.59°)
OKLaboklab(57.87% -0.0376 -0.1344)
OKLCHoklch(57.87% 0.14 254.4)
XYZxyz(19.3706, 19.2688, 58.5640)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387BCA #CA8738
analogous
#38C4CA #387BCA #3E38CA
triadic
#387BCA #CA387B #7BCA38
tetradic
#387BCA #CA38C4 #CA8738 #38CA3E
square
#387BCA #CA38C4 #CA8738 #38CA3E
split-complementary
#387BCA #CA3E38 #C4CA38
monochromatic
#1D416B #295E9B #387BCA #689BD7 #99BBE4

Accessibility & contrast

On white

4.33
#387BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#387BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387BCA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387BCA#FFFFFF#000000##000000
##387BCA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CD
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #387bca;
/* rgb */ color: rgb(56, 123, 202);
/* oklch */ color: oklch(57.9% 0.140 254.4);
Tailwind
colors: {
  custom: {
    50: '#81a0da',
    500: '#387bca',
    950: '#000000',
  },
}
SCSS
$custom: #387bca;
$custom-light: #81a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#387bca",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 212.466,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57865,
    "c": 0.13955,
    "h": 254.4
  },
  "luminance": 0.19271
}

Semantic roles & 50–950 ramp

primary
#387BCA
secondary
#CFB28E
accent
#9A47E1
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #387BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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