#397799#397799

#397799 is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.3% C 0.083 H 235.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#397799
RGBrgb(57, 119, 153)
HSLhsl(201, 46%, 41%)
HSVhsv(201, 63%, 60%)
CMYKcmyk(62.7%, 22.2%, 0%, 40%)
CIE-LABlab(47.45, -9.22, -24.34)
CIE-LCHlch(47.45, 26.03, 249.26°)
OKLaboklab(54.29% -0.0474 -0.0681)
OKLCHoklch(54.29% 0.083 235.2)
XYZxyz(14.0317, 16.3620, 32.5495)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397799 #995B39
analogous
#39998B #397799 #394799
triadic
#397799 #993977 #779939
tetradic
#397799 #8B3999 #995B39 #479939
square
#397799 #8B3999 #995B39 #479939
split-complementary
#397799 #993947 #998B39
monochromatic
#183240 #28546C #397799 #5198BE #7EB2CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397799#FFFFFF#000000##FFFFFF
##3977991.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)
#67769B
Deuteranopia (green-blind)
#5A6C98
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #397799;
/* rgb */ color: rgb(57, 119, 153);
/* oklch */ color: oklch(54.3% 0.083 235.2);
Tailwind
colors: {
  custom: {
    50: '#799eb7',
    500: '#397799',
    950: '#000000',
  },
}
SCSS
$custom: #397799;
$custom-light: #799eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#397799",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 153
  },
  "hsl": {
    "h": 201.25,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54292,
    "c": 0.08304,
    "h": 235.2
  },
  "luminance": 0.16363
}

Semantic roles & 50–950 ramp

primary
#397799
secondary
#B88D76
accent
#8152D5
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #397799

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

Preview Lab → · Contrast checker → · Palette generator →

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