#397FAA#397FAA

#397FAA is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.1% C 0.097 H 238.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#397FAA
RGBrgb(57, 127, 170)
HSLhsl(203, 50%, 45%)
HSVhsv(203, 66%, 67%)
CMYKcmyk(66.5%, 25.3%, 0%, 33.3%)
CIE-LABlab(50.63, -8.10, -29.32)
CIE-LCHlch(50.63, 30.42, 254.56°)
OKLaboklab(57.06% -0.0502 -0.0824)
OKLCHoklch(57.06% 0.097 238.7)
XYZxyz(16.5296, 18.9492, 40.8088)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397FAA #AA6439
analogous
#39AA9D #397FAA #3946AA
triadic
#397FAA #AA397F #7FAA39
tetradic
#397FAA #9D39AA #AA6439 #46AA39
square
#397FAA #9D39AA #AA6439 #46AA39
split-complementary
#397FAA #AA3946 #AA9D39
monochromatic
#1A3B4E #2A5D7C #397FAA #599DC7 #87B8D7

Accessibility & contrast

On white

4.38
#397FAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#397FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397FAA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397FAA#FFFFFF#000000##000000
##397FAA1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7FAC
Deuteranopia (green-blind)
#5C74A9
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #397faa;
/* rgb */ color: rgb(57, 127, 170);
/* oklch */ color: oklch(57.1% 0.097 238.7);
Tailwind
colors: {
  custom: {
    50: '#7ca4c3',
    500: '#397faa',
    950: '#000000',
  },
}
SCSS
$custom: #397faa;
$custom-light: #7ca4c3;
$custom-dark: #000000;
JSON
{
  "hex": "#397faa",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 170
  },
  "hsl": {
    "h": 202.832,
    "s": 49.78,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57062,
    "c": 0.09651,
    "h": 238.7
  },
  "luminance": 0.18951
}

Semantic roles & 50–950 ramp

primary
#397FAA
secondary
#C1977E
accent
#834ED9
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #397FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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