#397998#397998

#397998 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.7% C 0.081 H 231.9°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#397998
RGBrgb(57, 121, 152)
HSLhsl(200, 45%, 41%)
HSVhsv(200, 63%, 60%)
CMYKcmyk(62.5%, 20.4%, 0%, 40.4%)
CIE-LABlab(48.02, -10.70, -22.86)
CIE-LCHlch(48.02, 25.24, 244.92°)
OKLaboklab(54.74% -0.0501 -0.0639)
OKLCHoklch(54.74% 0.081 231.9)
XYZxyz(14.1900, 16.8102, 32.1966)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397998 #985839
analogous
#399887 #397998 #394998
triadic
#397998 #983979 #799839
tetradic
#397998 #873998 #985839 #499839
square
#397998 #873998 #985839 #499839
split-complementary
#397998 #983949 #988739
monochromatic
#18323F #28566B #397998 #519ABE #7DB4CE

Accessibility & contrast

On white

4.81
#397998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#397998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397998
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397998#FFFFFF#000000##FFFFFF
##3979981.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A789A
Deuteranopia (green-blind)
#5C6E98
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #397998;
/* rgb */ color: rgb(57, 121, 152);
/* oklch */ color: oklch(54.7% 0.081 231.9);
Tailwind
colors: {
  custom: {
    50: '#799fb6',
    500: '#397998',
    950: '#000000',
  },
}
SCSS
$custom: #397998;
$custom-light: #799fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#397998",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 152
  },
  "hsl": {
    "h": 199.579,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54735,
    "c": 0.08119,
    "h": 231.9
  },
  "luminance": 0.16812
}

Semantic roles & 50–950 ramp

primary
#397998
secondary
#B88B75
accent
#7D53D5
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #397998

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

Preview Lab → · Contrast checker → · Palette generator →

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