#38879B#38879B

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

Color values

HEX#38879B
RGBrgb(56, 135, 155)
HSLhsl(192, 47%, 41%)
HSVhsv(192, 64%, 61%)
CMYKcmyk(63.9%, 12.9%, 0%, 39.2%)
CIE-LABlab(52.44, -17.71, -17.84)
CIE-LCHlch(52.44, 25.14, 225.22°)
OKLaboklab(58.29% -0.0652 -0.0496)
OKLCHoklch(58.29% 0.082 217.3)
XYZxyz(16.2088, 20.5336, 34.1131)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38879B #9B4C38
analogous
#389B7E #38879B #38569B
triadic
#38879B #9B3887 #879B38
tetradic
#38879B #7E389B #9B4C38 #569B38
square
#38879B #7E389B #9B4C38 #569B38
split-complementary
#38879B #9B3856 #9B7E38
monochromatic
#183941 #28606E #38879B #50A9C0 #7DBFD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##38879B#FFFFFF#000000##000000
##38879B1.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)
#7A839C
Deuteranopia (green-blind)
#6B799B
Tritanopia (blue-blind)
#008E8D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #38879b;
/* rgb */ color: rgb(56, 135, 155);
/* oklch */ color: oklch(58.3% 0.082 217.3);
Tailwind
colors: {
  custom: {
    50: '#7aaab8',
    500: '#38879b',
    950: '#000000',
  },
}
SCSS
$custom: #38879b;
$custom-light: #7aaab8;
$custom-dark: #000000;
JSON
{
  "hex": "#38879b",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 155
  },
  "hsl": {
    "h": 192.121,
    "s": 46.919,
    "l": 41.373
  },
  "oklch": {
    "l": 0.58293,
    "c": 0.08193,
    "h": 217.3
  },
  "luminance": 0.20535
}

Semantic roles & 50–950 ramp

primary
#38879B
secondary
#B98375
accent
#6C51D7
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #38879B

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

Preview Lab → · Contrast checker → · Palette generator →

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