#397187#397187

#397187 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.0% C 0.068 H 226.1°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#397187
RGBrgb(57, 113, 135)
HSLhsl(197, 41%, 38%)
HSVhsv(197, 58%, 53%)
CMYKcmyk(57.8%, 16.3%, 0%, 47.1%)
CIE-LABlab(44.84, -11.66, -17.69)
CIE-LCHlch(44.84, 21.19, 236.60°)
OKLaboklab(51.97% -0.0474 -0.0492)
OKLCHoklch(51.97% 0.068 226.1)
XYZxyz(11.9640, 14.4283, 25.0714)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397187 #874F39
analogous
#398776 #397187 #394A87
triadic
#397187 #873971 #718739
tetradic
#397187 #763987 #874F39 #4A8739
square
#397187 #763987 #874F39 #4A8739
split-complementary
#397187 #87394A #877639
monochromatic
#152931 #274D5C #397187 #4B95B2 #75AFC5

Accessibility & contrast

On white

5.40
#397187 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#397187 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397187
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397187#FFFFFF#000000##FFFFFF
##3971871.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#656F88
Deuteranopia (green-blind)
#5A6687
Tritanopia (blue-blind)
#007878
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #397187;
/* rgb */ color: rgb(57, 113, 135);
/* oklch */ color: oklch(52.0% 0.068 226.1);
Tailwind
colors: {
  custom: {
    50: '#7699aa',
    500: '#397187',
    950: '#000000',
  },
}
SCSS
$custom: #397187;
$custom-light: #7699aa;
$custom-dark: #000000;
JSON
{
  "hex": "#397187",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 135
  },
  "hsl": {
    "h": 196.923,
    "s": 40.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.51974,
    "c": 0.06829,
    "h": 226.1
  },
  "luminance": 0.14429
}

Semantic roles & 50–950 ramp

primary
#397187
secondary
#AE806E
accent
#7957D0
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #397187

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

Preview Lab → · Contrast checker → · Palette generator →

#397187 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva