#397F9B#397F9B

#397F9B is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.3% C 0.082 H 227.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#397F9B
RGBrgb(57, 127, 155)
HSLhsl(197, 46%, 42%)
HSVhsv(197, 63%, 61%)
CMYKcmyk(63.2%, 18.1%, 0%, 39.2%)
CIE-LABlab(49.99, -13.11, -21.58)
CIE-LCHlch(49.99, 25.25, 238.71°)
OKLaboklab(56.35% -0.0557 -0.0602)
OKLCHoklch(56.35% 0.082 227.2)
XYZxyz(15.1908, 18.4136, 33.7576)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F9B #9B5539
analogous
#399B86 #397F9B #394E9B
triadic
#397F9B #9B397F #7F9B39
tetradic
#397F9B #86399B #9B5539 #4E9B39
square
#397F9B #86399B #9B5539 #4E9B39
split-complementary
#397F9B #9B394E #9B8639
monochromatic
#183642 #295A6E #397F9B #52A0BF #7FB9D0

Accessibility & contrast

On white

4.48
#397F9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#397F9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397F9B
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F9B#FFFFFF#000000##000000
##397F9B1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#707D9C
Deuteranopia (green-blind)
#62729B
Tritanopia (blue-blind)
#008788
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #397f9b;
/* rgb */ color: rgb(57, 127, 155);
/* oklch */ color: oklch(56.3% 0.082 227.2);
Tailwind
colors: {
  custom: {
    50: '#7aa4b8',
    500: '#397f9b',
    950: '#000000',
  },
}
SCSS
$custom: #397f9b;
$custom-light: #7aa4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#397f9b",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 155
  },
  "hsl": {
    "h": 197.143,
    "s": 46.226,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56349,
    "c": 0.08201,
    "h": 227.2
  },
  "luminance": 0.18415
}

Semantic roles & 50–950 ramp

primary
#397F9B
secondary
#B98A77
accent
#7852D6
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F11
muted
#7C7F80

Preview Lab

Preview with #397F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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