#397996#397996

#397996 is a mid, moderate cyan. Relative luminance 0.167; OKLCH L 54.6% C 0.079 H 230.2°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#397996
RGBrgb(57, 121, 150)
HSLhsl(199, 45%, 41%)
HSVhsv(199, 62%, 59%)
CMYKcmyk(62%, 19.3%, 0%, 41.2%)
CIE-LABlab(47.94, -11.36, -21.82)
CIE-LCHlch(47.94, 24.60, 242.49°)
OKLaboklab(54.64% -0.0508 -0.0609)
OKLCHoklch(54.64% 0.079 230.2)
XYZxyz(14.0276, 16.7452, 31.3411)
Luminance0.1675 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397996 #965639
analogous
#399685 #397996 #394A96
triadic
#397996 #963979 #799639
tetradic
#397996 #853996 #965639 #4A9639
square
#397996 #853996 #965639 #4A9639
split-complementary
#397996 #96394A #968539
monochromatic
#17313D #28556A #397996 #509BBC #7CB4CD

Accessibility & contrast

On white

4.83
#397996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#397996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397996
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397996#FFFFFF#000000##FFFFFF
##3979961.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A7797
Deuteranopia (green-blind)
#5D6E96
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #397996;
/* rgb */ color: rgb(57, 121, 150);
/* oklch */ color: oklch(54.6% 0.079 230.2);
Tailwind
colors: {
  custom: {
    50: '#799fb5',
    500: '#397996',
    950: '#000000',
  },
}
SCSS
$custom: #397996;
$custom-light: #799fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#397996",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 150
  },
  "hsl": {
    "h": 198.71,
    "s": 44.928,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54642,
    "c": 0.07933,
    "h": 230.2
  },
  "luminance": 0.16747
}

Semantic roles & 50–950 ramp

primary
#397996
secondary
#B78974
accent
#7C53D5
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #397996

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

Preview Lab → · Contrast checker → · Palette generator →

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