#38798A#38798A

#38798A is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.1% C 0.071 H 217.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#38798A
RGBrgb(56, 121, 138)
HSLhsl(192, 42%, 38%)
HSVhsv(192, 59%, 54%)
CMYKcmyk(59.4%, 12.3%, 0%, 45.9%)
CIE-LABlab(47.43, -15.43, -15.52)
CIE-LCHlch(47.43, 21.89, 225.17°)
OKLaboklab(54.07% -0.0563 -0.0431)
OKLCHoklch(54.07% 0.071 217.4)
XYZxyz(13.0539, 16.3492, 26.5076)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#38798A #8A4938
analogous
#388A72 #38798A #38508A
triadic
#38798A #8A3879 #798A38
tetradic
#38798A #72388A #8A4938 #508A38
square
#38798A #72388A #8A4938 #508A38
split-complementary
#38798A #8A3850 #8A7238
monochromatic
#152D33 #26535E #38798A #4A9FB5 #75B6C7

Accessibility & contrast

On white

4.92
#38798A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#38798A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #38798A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##38798A#FFFFFF#000000##FFFFFF
##38798A1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E768B
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#007F7E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #38798a;
/* rgb */ color: rgb(56, 121, 138);
/* oklch */ color: oklch(54.1% 0.071 217.4);
Tailwind
colors: {
  custom: {
    50: '#779fac',
    500: '#38798a',
    950: '#000000',
  },
}
SCSS
$custom: #38798a;
$custom-light: #779fac;
$custom-dark: #000000;
JSON
{
  "hex": "#38798a",
  "rgb": {
    "r": 56,
    "g": 121,
    "b": 138
  },
  "hsl": {
    "h": 192.439,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.5407,
    "c": 0.07092,
    "h": 217.4
  },
  "luminance": 0.1635
}

Semantic roles & 50–950 ramp

primary
#38798A
secondary
#B07B6E
accent
#7056D2
background
#F7F9FA
surface
#EEF2F4
border
#C9CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #38798A

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

Preview Lab → · Contrast checker → · Palette generator →

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