#387BCC#387BCC

#387BCC is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 58.0% C 0.142 H 254.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#387BCC
RGBrgb(56, 123, 204)
HSLhsl(213, 59%, 51%)
HSVhsv(213, 73%, 80%)
CMYKcmyk(72.5%, 39.7%, 0%, 20%)
CIE-LABlab(51.11, 6.17, -48.10)
CIE-LCHlch(51.11, 48.49, 277.32°)
OKLaboklab(57.99% -0.0371 -0.1372)
OKLCHoklch(57.99% 0.142 254.9)
XYZxyz(19.6089, 19.3641, 59.8192)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387BCC #CC8938
analogous
#38C5CC #387BCC #3F38CC
triadic
#387BCC #CC387B #7BCC38
tetradic
#387BCC #CC38C5 #CC8938 #38CC3F
square
#387BCC #CC38C5 #CC8938 #38CC3F
split-complementary
#387BCC #CC3F38 #C5CC38
monochromatic
#1C416E #295E9E #387BCC #699BD8 #99BCE5

Accessibility & contrast

On white

4.31
#387BCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#387BCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #387BCC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387BCC#FFFFFF#000000##000000
##387BCC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CF
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #387bcc;
/* rgb */ color: rgb(56, 123, 204);
/* oklch */ color: oklch(58.0% 0.142 254.9);
Tailwind
colors: {
  custom: {
    50: '#81a0dc',
    500: '#387bcc',
    950: '#000000',
  },
}
SCSS
$custom: #387bcc;
$custom-light: #81a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#387bcc",
  "rgb": {
    "r": 56,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 212.838,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57987,
    "c": 0.14215,
    "h": 254.9
  },
  "luminance": 0.19366
}

Semantic roles & 50–950 ramp

primary
#387BCC
secondary
#D1B38F
accent
#9B45E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #387BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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