#397899#397899

#397899 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.5% C 0.083 H 234.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#397899
RGBrgb(57, 120, 153)
HSLhsl(201, 46%, 41%)
HSVhsv(201, 63%, 60%)
CMYKcmyk(62.7%, 21.6%, 0%, 40%)
CIE-LABlab(47.75, -9.79, -23.86)
CIE-LCHlch(47.75, 25.79, 247.69°)
OKLaboklab(54.54% -0.0486 -0.0668)
OKLCHoklch(54.54% 0.083 234)
XYZxyz(14.1514, 16.6013, 32.5894)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397899 #995A39
analogous
#39998A #397899 #394899
triadic
#397899 #993978 #789939
tetradic
#397899 #8A3999 #995A39 #489939
square
#397899 #8A3999 #995A39 #489939
split-complementary
#397899 #993948 #998A39
monochromatic
#183240 #28556C #397899 #5199BE #7EB3CF

Accessibility & contrast

On white

4.86
#397899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#397899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397899
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397899#FFFFFF#000000##FFFFFF
##3978991.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68779B
Deuteranopia (green-blind)
#5B6D98
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #397899;
/* rgb */ color: rgb(57, 120, 153);
/* oklch */ color: oklch(54.5% 0.083 234.0);
Tailwind
colors: {
  custom: {
    50: '#799fb7',
    500: '#397899',
    950: '#000000',
  },
}
SCSS
$custom: #397899;
$custom-light: #799fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#397899",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 153
  },
  "hsl": {
    "h": 200.625,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54537,
    "c": 0.08257,
    "h": 234
  },
  "luminance": 0.16603
}

Semantic roles & 50–950 ramp

primary
#397899
secondary
#B88C76
accent
#7F52D5
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #397899

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

Preview Lab → · Contrast checker → · Palette generator →

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