#38879F#38879F

#38879F is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.5% C 0.084 H 221.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#38879F
RGBrgb(56, 135, 159)
HSLhsl(194, 48%, 42%)
HSVhsv(194, 65%, 62%)
CMYKcmyk(64.8%, 15.1%, 0%, 37.6%)
CIE-LABlab(52.59, -16.43, -19.93)
CIE-LCHlch(52.59, 25.83, 230.51°)
OKLaboklab(58.46% -0.0636 -0.0555)
OKLCHoklch(58.46% 0.084 221.1)
XYZxyz(16.5503, 20.6702, 35.9117)
Luminance0.2067 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38879F #9F5038
analogous
#389F84 #38879F #38539F
triadic
#38879F #9F3887 #879F38
tetradic
#38879F #84389F #9F5038 #539F38
square
#38879F #84389F #9F5038 #539F38
split-complementary
#38879F #9F3853 #9F8438
monochromatic
#183A44 #286172 #38879F #52A8C2 #7FBFD2

Accessibility & contrast

On white

4.09
#38879F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#38879F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #38879F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38879F#FFFFFF#000000##000000
##38879F1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7984A0
Deuteranopia (green-blind)
#6A799F
Tritanopia (blue-blind)
#008F8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #38879f;
/* rgb */ color: rgb(56, 135, 159);
/* oklch */ color: oklch(58.5% 0.084 221.1);
Tailwind
colors: {
  custom: {
    50: '#7aaabb',
    500: '#38879f',
    950: '#000000',
  },
}
SCSS
$custom: #38879f;
$custom-light: #7aaabb;
$custom-dark: #000000;
JSON
{
  "hex": "#38879f",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 159
  },
  "hsl": {
    "h": 193.981,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.58464,
    "c": 0.08441,
    "h": 221.1
  },
  "luminance": 0.20672
}

Semantic roles & 50–950 ramp

primary
#38879F
secondary
#BB8777
accent
#7050D7
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #38879F

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

Preview Lab → · Contrast checker → · Palette generator →

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