#387198#387198

#387198 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.7% C 0.086 H 240.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#387198
RGBrgb(56, 113, 152)
HSLhsl(204, 46%, 41%)
HSVhsv(204, 63%, 60%)
CMYKcmyk(63.2%, 25.7%, 0%, 40.4%)
CIE-LABlab(45.52, -6.23, -26.74)
CIE-LCHlch(45.52, 27.46, 256.88°)
OKLaboklab(52.74% -0.0418 -0.0751)
OKLCHoklch(52.74% 0.086 240.9)
XYZxyz(13.2014, 14.9167, 31.8832)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#387198 #985F38
analogous
#38988F #387198 #384198
triadic
#387198 #983871 #719838
tetradic
#387198 #8F3898 #985F38 #419838
square
#387198 #8F3898 #985F38 #419838
split-complementary
#387198 #983841 #988F38
monochromatic
#172F3F #28506B #387198 #4F91BE #7CADCF

Accessibility & contrast

On white

5.27
#387198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#387198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #387198
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##387198#FFFFFF#000000##FFFFFF
##3871981.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F719A
Deuteranopia (green-blind)
#526797
Tritanopia (blue-blind)
#007B7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #387198;
/* rgb */ color: rgb(56, 113, 152);
/* oklch */ color: oklch(52.7% 0.086 240.9);
Tailwind
colors: {
  custom: {
    50: '#7899b6',
    500: '#387198',
    950: '#000000',
  },
}
SCSS
$custom: #387198;
$custom-light: #7899b6;
$custom-dark: #000000;
JSON
{
  "hex": "#387198",
  "rgb": {
    "r": 56,
    "g": 113,
    "b": 152
  },
  "hsl": {
    "h": 204.375,
    "s": 46.154,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52739,
    "c": 0.08593,
    "h": 240.9
  },
  "luminance": 0.14918
}

Semantic roles & 50–950 ramp

primary
#387198
secondary
#B89074
accent
#8852D6
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #387198

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

Preview Lab → · Contrast checker → · Palette generator →

#387198 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva