#38879C#38879C

#38879C is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 58.3% C 0.083 H 218.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#38879C
RGBrgb(56, 135, 156)
HSLhsl(193, 47%, 42%)
HSVhsv(193, 64%, 61%)
CMYKcmyk(64.1%, 13.5%, 0%, 38.8%)
CIE-LABlab(52.47, -17.39, -18.37)
CIE-LCHlch(52.47, 25.29, 226.57°)
OKLaboklab(58.34% -0.0648 -0.0511)
OKLCHoklch(58.34% 0.083 218.3)
XYZxyz(16.2932, 20.5673, 34.5573)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38879C #9C4D38
analogous
#389C7F #38879C #38559C
triadic
#38879C #9C3887 #879C38
tetradic
#38879C #7F389C #9C4D38 #559C38
square
#38879C #7F389C #9C4D38 #559C38
split-complementary
#38879C #9C3855 #9C7F38
monochromatic
#183942 #28606F #38879C #51A9C0 #7EBFD1

Accessibility & contrast

On white

4.11
#38879C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#38879C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38879C
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38879C#FFFFFF#000000##000000
##38879C1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A839D
Deuteranopia (green-blind)
#6B799C
Tritanopia (blue-blind)
#008E8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #38879c;
/* rgb */ color: rgb(56, 135, 156);
/* oklch */ color: oklch(58.3% 0.083 218.3);
Tailwind
colors: {
  custom: {
    50: '#7aaab9',
    500: '#38879c',
    950: '#000000',
  },
}
SCSS
$custom: #38879c;
$custom-light: #7aaab9;
$custom-dark: #000000;
JSON
{
  "hex": "#38879c",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 156
  },
  "hsl": {
    "h": 192.6,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.58335,
    "c": 0.08251,
    "h": 218.3
  },
  "luminance": 0.20569
}

Semantic roles & 50–950 ramp

primary
#38879C
secondary
#BA8476
accent
#6D51D7
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #38879C

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

Preview Lab → · Contrast checker → · Palette generator →

#38879C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva