#38879E#38879E

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

Color values

HEX#38879E
RGBrgb(56, 135, 158)
HSLhsl(194, 48%, 42%)
HSVhsv(194, 65%, 62%)
CMYKcmyk(64.6%, 14.6%, 0%, 38%)
CIE-LABlab(52.55, -16.75, -19.41)
CIE-LCHlch(52.55, 25.64, 229.21°)
OKLaboklab(58.42% -0.064 -0.054)
OKLCHoklch(58.42% 0.084 220.2)
XYZxyz(16.4639, 20.6356, 35.4565)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38879E #9E4F38
analogous
#389E82 #38879E #38549E
triadic
#38879E #9E3887 #879E38
tetradic
#38879E #82389E #9E4F38 #549E38
square
#38879E #82389E #9E4F38 #549E38
split-complementary
#38879E #9E3854 #9E8238
monochromatic
#183A44 #286071 #38879E #52A8C2 #7FBFD2

Accessibility & contrast

On white

4.10
#38879E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##38879E#FFFFFF#000000##000000
##38879E1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79849F
Deuteranopia (green-blind)
#6A799E
Tritanopia (blue-blind)
#008F8E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #38879e;
/* rgb */ color: rgb(56, 135, 158);
/* oklch */ color: oklch(58.4% 0.084 220.2);
Tailwind
colors: {
  custom: {
    50: '#7aaaba',
    500: '#38879e',
    950: '#000000',
  },
}
SCSS
$custom: #38879e;
$custom-light: #7aaaba;
$custom-dark: #000000;
JSON
{
  "hex": "#38879e",
  "rgb": {
    "r": 56,
    "g": 135,
    "b": 158
  },
  "hsl": {
    "h": 193.529,
    "s": 47.664,
    "l": 41.961
  },
  "oklch": {
    "l": 0.58421,
    "c": 0.08375,
    "h": 220.2
  },
  "luminance": 0.20637
}

Semantic roles & 50–950 ramp

primary
#38879E
secondary
#BB8677
accent
#6F51D7
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #38879E

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

Preview Lab → · Contrast checker → · Palette generator →

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