#397798#397798

#397798 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.2% C 0.082 H 234.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#397798
RGBrgb(57, 119, 152)
HSLhsl(201, 45%, 41%)
HSVhsv(201, 63%, 60%)
CMYKcmyk(62.5%, 21.7%, 0%, 40.4%)
CIE-LABlab(47.40, -9.55, -23.82)
CIE-LCHlch(47.40, 25.66, 248.15°)
OKLaboklab(54.24% -0.0478 -0.0666)
OKLCHoklch(54.24% 0.082 234.3)
XYZxyz(13.9495, 16.3291, 32.1164)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397798 #985A39
analogous
#399889 #397798 #394798
triadic
#397798 #983977 #779839
tetradic
#397798 #893998 #985A39 #479839
square
#397798 #893998 #985A39 #479839
split-complementary
#397798 #983947 #988939
monochromatic
#18313F #28546B #397798 #5198BE #7DB2CE

Accessibility & contrast

On white

4.92
#397798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#397798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##397798#FFFFFF#000000##FFFFFF
##3977981.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)
#67769A
Deuteranopia (green-blind)
#5A6C97
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397798;
/* rgb */ color: rgb(57, 119, 152);
/* oklch */ color: oklch(54.2% 0.082 234.3);
Tailwind
colors: {
  custom: {
    50: '#799eb6',
    500: '#397798',
    950: '#000000',
  },
}
SCSS
$custom: #397798;
$custom-light: #799eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#397798",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 152
  },
  "hsl": {
    "h": 200.842,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54244,
    "c": 0.08202,
    "h": 234.3
  },
  "luminance": 0.16331
}

Semantic roles & 50–950 ramp

primary
#397798
secondary
#B88C75
accent
#8053D5
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #397798

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

Preview Lab → · Contrast checker → · Palette generator →

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