#38798F#38798F

#38798F is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.3% C 0.074 H 223.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#38798F
RGBrgb(56, 121, 143)
HSLhsl(195, 44%, 39%)
HSVhsv(195, 61%, 56%)
CMYKcmyk(60.8%, 15.4%, 0%, 43.9%)
CIE-LABlab(47.62, -13.84, -18.18)
CIE-LCHlch(47.62, 22.85, 232.73°)
OKLaboklab(54.29% -0.0543 -0.0506)
OKLCHoklch(54.29% 0.074 223)
XYZxyz(13.4242, 16.4974, 28.4581)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38798F #8F4E38
analogous
#388F7A #38798F #384E8F
triadic
#38798F #8F3879 #798F38
tetradic
#38798F #7A388F #8F4E38 #4E8F38
square
#38798F #7A388F #8F4E38 #4E8F38
split-complementary
#38798F #8F384E #8F7A38
monochromatic
#162F37 #275463 #38798F #4B9DB9 #77B5CA

Accessibility & contrast

On white

4.88
#38798F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#38798F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38798F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38798F#FFFFFF#000000##FFFFFF
##38798F1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7690
Deuteranopia (green-blind)
#606D8F
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #38798f;
/* rgb */ color: rgb(56, 121, 143);
/* oklch */ color: oklch(54.3% 0.074 223.0);
Tailwind
colors: {
  custom: {
    50: '#779faf',
    500: '#38798f',
    950: '#000000',
  },
}
SCSS
$custom: #38798f;
$custom-light: #779faf;
$custom-dark: #000000;
JSON
{
  "hex": "#38798f",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 143
  },
  "hsl": {
    "h": 195.172,
    "s": 43.719,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54286,
    "c": 0.07421,
    "h": 223
  },
  "luminance": 0.16499
}

Semantic roles & 50–950 ramp

primary
#38798F
secondary
#B38170
accent
#7454D3
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #38798F

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

Preview Lab → · Contrast checker → · Palette generator →

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