#397FAF#397FAF

#397FAF is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.102 H 241.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#397FAF
RGBrgb(57, 127, 175)
HSLhsl(204, 51%, 45%)
HSVhsv(204, 67%, 69%)
CMYKcmyk(67.4%, 27.4%, 0%, 31.4%)
CIE-LABlab(50.85, -6.38, -31.87)
CIE-LCHlch(50.85, 32.50, 258.67°)
OKLaboklab(57.32% -0.0485 -0.0898)
OKLCHoklch(57.32% 0.102 241.6)
XYZxyz(17.0116, 19.1420, 43.3474)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397FAF #AF6939
analogous
#39AFA4 #397FAF #3944AF
triadic
#397FAF #AF397F #7FAF39
tetradic
#397FAF #A439AF #AF6939 #44AF39
square
#397FAF #A439AF #AF6939 #44AF39
split-complementary
#397FAF #AF3944 #AFA439
monochromatic
#1B3C53 #2A5D81 #397FAF #5B9DCA #8AB9D9

Accessibility & contrast

On white

4.35
#397FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#397FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397FAF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397FAF#FFFFFF#000000##000000
##397FAF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6980B1
Deuteranopia (green-blind)
#5974AE
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #397faf;
/* rgb */ color: rgb(57, 127, 175);
/* oklch */ color: oklch(57.3% 0.102 241.6);
Tailwind
colors: {
  custom: {
    50: '#7ca4c7',
    500: '#397faf',
    950: '#000000',
  },
}
SCSS
$custom: #397faf;
$custom-light: #7ca4c7;
$custom-dark: #000000;
JSON
{
  "hex": "#397faf",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 175
  },
  "hsl": {
    "h": 204.407,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.57315,
    "c": 0.10205,
    "h": 241.6
  },
  "luminance": 0.19144
}

Semantic roles & 50–950 ramp

primary
#397FAF
secondary
#C39C81
accent
#874DDA
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #397FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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