#397BA7#397BA7

#397BA7 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.0% C 0.096 H 240.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#397BA7
RGBrgb(57, 123, 167)
HSLhsl(204, 49%, 44%)
HSVhsv(204, 66%, 65%)
CMYKcmyk(65.9%, 26.3%, 0%, 34.5%)
CIE-LABlab(49.28, -6.80, -29.68)
CIE-LCHlch(49.28, 30.45, 257.10°)
OKLaboklab(55.95% -0.0469 -0.0835)
OKLCHoklch(55.95% 0.096 240.7)
XYZxyz(15.7427, 17.8242, 39.1625)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397BA7 #A76539
analogous
#39A79C #397BA7 #3944A7
triadic
#397BA7 #A7397B #7BA739
tetradic
#397BA7 #9C39A7 #A76539 #44A739
square
#397BA7 #9C39A7 #A76539 #44A739
split-complementary
#397BA7 #A73944 #A79C39
monochromatic
#1A384C #295979 #397BA7 #579AC6 #85B5D5

Accessibility & contrast

On white

4.60
#397BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#397BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #397BA7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397BA7#FFFFFF#000000##FFFFFF
##397BA71.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677BA9
Deuteranopia (green-blind)
#5870A6
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #397ba7;
/* rgb */ color: rgb(57, 123, 167);
/* oklch */ color: oklch(56.0% 0.096 240.7);
Tailwind
colors: {
  custom: {
    50: '#7ba1c1',
    500: '#397ba7',
    950: '#000000',
  },
}
SCSS
$custom: #397ba7;
$custom-light: #7ba1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#397ba7",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 167
  },
  "hsl": {
    "h": 204,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55952,
    "c": 0.09577,
    "h": 240.7
  },
  "luminance": 0.17826
}

Semantic roles & 50–950 ramp

primary
#397BA7
secondary
#BF977D
accent
#864FD9
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #397BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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