#398797#398797

#398797 is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.2% C 0.079 H 213.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#398797
RGBrgb(57, 135, 151)
HSLhsl(190, 45%, 41%)
HSVhsv(190, 62%, 59%)
CMYKcmyk(62.3%, 10.6%, 0%, 40.8%)
CIE-LABlab(52.32, -18.78, -15.70)
CIE-LCHlch(52.32, 24.48, 219.89°)
OKLaboklab(58.16% -0.0662 -0.0436)
OKLCHoklch(58.16% 0.079 213.3)
XYZxyz(15.9349, 20.4305, 32.3759)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398797 #974939
analogous
#399778 #398797 #395897
triadic
#398797 #973987 #879739
tetradic
#398797 #783997 #974939 #589739
square
#398797 #783997 #974939 #589739
split-complementary
#398797 #973958 #977839
monochromatic
#17383E #285F6B #398797 #50AABD #7DC0CE

Accessibility & contrast

On white

4.13
#398797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#398797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398797
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398797#FFFFFF#000000##000000
##3987971.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8398
Deuteranopia (green-blind)
#6D7897
Tritanopia (blue-blind)
#008D8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398797;
/* rgb */ color: rgb(57, 135, 151);
/* oklch */ color: oklch(58.2% 0.079 213.3);
Tailwind
colors: {
  custom: {
    50: '#7aaab5',
    500: '#398797',
    950: '#000000',
  },
}
SCSS
$custom: #398797;
$custom-light: #7aaab5;
$custom-dark: #000000;
JSON
{
  "hex": "#398797",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 151
  },
  "hsl": {
    "h": 190.213,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.58161,
    "c": 0.07928,
    "h": 213.3
  },
  "luminance": 0.20432
}

Semantic roles & 50–950 ramp

primary
#398797
secondary
#B78075
accent
#6953D5
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #398797

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

Preview Lab → · Contrast checker → · Palette generator →

#398797 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva