#398798#398798

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

Color values

HEX#398798
RGBrgb(57, 135, 152)
HSLhsl(191, 45%, 41%)
HSVhsv(191, 63%, 60%)
CMYKcmyk(62.5%, 11.2%, 0%, 40.4%)
CIE-LABlab(52.36, -18.47, -16.22)
CIE-LCHlch(52.36, 24.58, 221.29°)
OKLaboklab(58.2% -0.0658 -0.045)
OKLCHoklch(58.2% 0.08 214.4)
XYZxyz(16.0165, 20.4632, 32.8054)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398798 #984A39
analogous
#399879 #398798 #395798
triadic
#398798 #983987 #879839
tetradic
#398798 #793998 #984A39 #579839
square
#398798 #793998 #984A39 #579839
split-complementary
#398798 #983957 #987939
monochromatic
#18383F #285F6B #398798 #51AABE #7DC0CE

Accessibility & contrast

On white

4.12
#398798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##398798#FFFFFF#000000##000000
##3987981.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8399
Deuteranopia (green-blind)
#6D7898
Tritanopia (blue-blind)
#008E8C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398798;
/* rgb */ color: rgb(57, 135, 152);
/* oklch */ color: oklch(58.2% 0.080 214.4);
Tailwind
colors: {
  custom: {
    50: '#7aaab6',
    500: '#398798',
    950: '#000000',
  },
}
SCSS
$custom: #398798;
$custom-light: #7aaab6;
$custom-dark: #000000;
JSON
{
  "hex": "#398798",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 152
  },
  "hsl": {
    "h": 190.737,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.58202,
    "c": 0.07976,
    "h": 214.4
  },
  "luminance": 0.20465
}

Semantic roles & 50–950 ramp

primary
#398798
secondary
#B88175
accent
#6A53D5
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #398798

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

Preview Lab → · Contrast checker → · Palette generator →

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