#38879A#38879A

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

Color values

HEX#38879A
RGBrgb(56, 135, 154)
HSLhsl(192, 47%, 41%)
HSVhsv(192, 64%, 60%)
CMYKcmyk(63.6%, 12.3%, 0%, 39.6%)
CIE-LABlab(52.40, -18.02, -17.32)
CIE-LCHlch(52.40, 25.00, 223.86°)
OKLaboklab(58.25% -0.0656 -0.0481)
OKLCHoklch(58.25% 0.081 216.3)
XYZxyz(16.1252, 20.5001, 33.6727)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38879A #9A4B38
analogous
#389A7C #38879A #38569A
triadic
#38879A #9A3887 #879A38
tetradic
#38879A #7C389A #9A4B38 #569A38
square
#38879A #7C389A #9A4B38 #569A38
split-complementary
#38879A #9A3856 #9A7C38
monochromatic
#173840 #28606D #38879A #50AABF #7DC0D0

Accessibility & contrast

On white

4.12
#38879A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#38879A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38879A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38879A#FFFFFF#000000##000000
##38879A1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A839B
Deuteranopia (green-blind)
#6C789A
Tritanopia (blue-blind)
#008E8D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #38879a;
/* rgb */ color: rgb(56, 135, 154);
/* oklch */ color: oklch(58.3% 0.081 216.3);
Tailwind
colors: {
  custom: {
    50: '#7aaab7',
    500: '#38879a',
    950: '#000000',
  },
}
SCSS
$custom: #38879a;
$custom-light: #7aaab7;
$custom-dark: #000000;
JSON
{
  "hex": "#38879a",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 154
  },
  "hsl": {
    "h": 191.633,
    "s": 46.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5825,
    "c": 0.08138,
    "h": 216.3
  },
  "luminance": 0.20502
}

Semantic roles & 50–950 ramp

primary
#38879A
secondary
#B98275
accent
#6B51D6
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #38879A

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

Preview Lab → · Contrast checker → · Palette generator →

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