#38798C#38798C

#38798C is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.2% C 0.072 H 219.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#38798C
RGBrgb(56, 121, 140)
HSLhsl(194, 43%, 38%)
HSVhsv(194, 60%, 55%)
CMYKcmyk(60%, 13.6%, 0%, 45.1%)
CIE-LABlab(47.50, -14.80, -16.59)
CIE-LCHlch(47.50, 22.23, 228.26°)
OKLaboklab(54.16% -0.0555 -0.0461)
OKLCHoklch(54.16% 0.072 219.7)
XYZxyz(13.2000, 16.4077, 27.2772)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38798C #8C4B38
analogous
#388C75 #38798C #384F8C
triadic
#38798C #8C3879 #798C38
tetradic
#38798C #75388C #8C4B38 #4F8C38
square
#38798C #75388C #8C4B38 #4F8C38
split-complementary
#38798C #8C384F #8C7538
monochromatic
#152D35 #275360 #38798C #4A9EB7 #76B6C8

Accessibility & contrast

On white

4.90
#38798C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#38798C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38798C
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38798C#FFFFFF#000000##FFFFFF
##38798C1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D768D
Deuteranopia (green-blind)
#616D8C
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #38798c;
/* rgb */ color: rgb(56, 121, 140);
/* oklch */ color: oklch(54.2% 0.072 219.7);
Tailwind
colors: {
  custom: {
    50: '#779fad',
    500: '#38798c',
    950: '#000000',
  },
}
SCSS
$custom: #38798c;
$custom-light: #779fad;
$custom-dark: #000000;
JSON
{
  "hex": "#38798c",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 140
  },
  "hsl": {
    "h": 193.571,
    "s": 42.857,
    "l": 38.431
  },
  "oklch": {
    "l": 0.54155,
    "c": 0.07215,
    "h": 219.7
  },
  "luminance": 0.16409
}

Semantic roles & 50–950 ramp

primary
#38798C
secondary
#B17E6F
accent
#7255D3
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #38798C

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

Preview Lab → · Contrast checker → · Palette generator →

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