#397A9F#397A9F

#397A9F is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.3% C 0.088 H 236.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#397A9F
RGBrgb(57, 122, 159)
HSLhsl(202, 47%, 42%)
HSVhsv(202, 64%, 62%)
CMYKcmyk(64.2%, 23.3%, 0%, 37.6%)
CIE-LABlab(48.62, -8.94, -26.03)
CIE-LCHlch(48.62, 27.52, 251.05°)
OKLaboklab(55.31% -0.0486 -0.073)
OKLCHoklch(55.31% 0.088 236.3)
XYZxyz(14.9025, 17.2906, 35.3462)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A9F #9F5E39
analogous
#399F91 #397A9F #39479F
triadic
#397A9F #9F397A #7A9F39
tetradic
#397A9F #91399F #9F5E39 #479F39
square
#397A9F #91399F #9F5E39 #479F39
split-complementary
#397A9F #9F3947 #9F9139
monochromatic
#193545 #295772 #397A9F #549AC2 #81B4D2

Accessibility & contrast

On white

4.71
#397A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#397A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A9F
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A9F#FFFFFF#000000##FFFFFF
##397A9F1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6979A1
Deuteranopia (green-blind)
#5B6F9E
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #397a9f;
/* rgb */ color: rgb(57, 122, 159);
/* oklch */ color: oklch(55.3% 0.088 236.3);
Tailwind
colors: {
  custom: {
    50: '#7aa0bb',
    500: '#397a9f',
    950: '#000000',
  },
}
SCSS
$custom: #397a9f;
$custom-light: #7aa0bb;
$custom-dark: #000000;
JSON
{
  "hex": "#397a9f",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 159
  },
  "hsl": {
    "h": 201.765,
    "s": 47.222,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55313,
    "c": 0.0877,
    "h": 236.3
  },
  "luminance": 0.17292
}

Semantic roles & 50–950 ramp

primary
#397A9F
secondary
#BB9178
accent
#8251D7
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #397A9F

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

Preview Lab → · Contrast checker → · Palette generator →

#397A9F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva