#397793#397793

#397793 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.0% C 0.077 H 230.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#397793
RGBrgb(57, 119, 147)
HSLhsl(199, 44%, 40%)
HSVhsv(199, 61%, 58%)
CMYKcmyk(61.2%, 19%, 0%, 42.4%)
CIE-LABlab(47.20, -11.20, -21.19)
CIE-LCHlch(47.20, 23.97, 242.14°)
OKLaboklab(54.01% -0.0497 -0.0591)
OKLCHoklch(54.01% 0.077 230)
XYZxyz(13.5486, 16.1688, 30.0050)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397793 #935539
analogous
#399382 #397793 #394A93
triadic
#397793 #933977 #779339
tetradic
#397793 #823993 #935539 #4A9339
square
#397793 #823993 #935539 #4A9339
split-complementary
#397793 #93394A #938239
monochromatic
#17303B #285367 #397793 #4F99BB #7BB2CC

Accessibility & contrast

On white

4.96
#397793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#397793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397793
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397793#FFFFFF#000000##FFFFFF
##3977931.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697594
Deuteranopia (green-blind)
#5C6C93
Tritanopia (blue-blind)
#007F80
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397793;
/* rgb */ color: rgb(57, 119, 147);
/* oklch */ color: oklch(54.0% 0.077 230.0);
Tailwind
colors: {
  custom: {
    50: '#789eb2',
    500: '#397793',
    950: '#000000',
  },
}
SCSS
$custom: #397793;
$custom-light: #789eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#397793",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 147
  },
  "hsl": {
    "h": 198.667,
    "s": 44.118,
    "l": 40
  },
  "oklch": {
    "l": 0.5401,
    "c": 0.07725,
    "h": 230
  },
  "luminance": 0.1617
}

Semantic roles & 50–950 ramp

primary
#397793
secondary
#B58773
accent
#7C54D4
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #397793

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

Preview Lab → · Contrast checker → · Palette generator →

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