#387AAA#387AAA

#387AAA is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.8% C 0.100 H 243.0°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#387AAA
RGBrgb(56, 122, 170)
HSLhsl(205, 50%, 44%)
HSVhsv(205, 67%, 67%)
CMYKcmyk(67.1%, 28.2%, 0%, 33.3%)
CIE-LABlab(49.08, -5.35, -31.74)
CIE-LCHlch(49.08, 32.19, 260.43°)
OKLaboklab(55.83% -0.0455 -0.0895)
OKLCHoklch(55.83% 0.1 243)
XYZxyz(15.8434, 17.6605, 40.5963)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387AAA #AA6838
analogous
#38AAA1 #387AAA #3841AA
triadic
#387AAA #AA387A #7AAA38
tetradic
#387AAA #A138AA #AA6838 #41AA38
square
#387AAA #A138AA #AA6838 #41AA38
split-complementary
#387AAA #AA3841 #AAA138
monochromatic
#1A384E #29597C #387AAA #5798C8 #85B5D7

Accessibility & contrast

On white

4.63
#387AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#387AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #387AAA
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387AAA#FFFFFF#000000##FFFFFF
##387AAA1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647BAC
Deuteranopia (green-blind)
#5570A9
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #387aaa;
/* rgb */ color: rgb(56, 122, 170);
/* oklch */ color: oklch(55.8% 0.100 243.0);
Tailwind
colors: {
  custom: {
    50: '#7ba0c3',
    500: '#387aaa',
    950: '#000000',
  },
}
SCSS
$custom: #387aaa;
$custom-light: #7ba0c3;
$custom-dark: #000000;
JSON
{
  "hex": "#387aaa",
  "rgb": {
    "r": 56,
    "g": 122,
    "b": 170
  },
  "hsl": {
    "h": 205.263,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55828,
    "c": 0.1004,
    "h": 243
  },
  "luminance": 0.17662
}

Semantic roles & 50–950 ramp

primary
#387AAA
secondary
#C19A7D
accent
#894EDA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #387AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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