#397EA8#397EA8

#397EA8 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.7% C 0.095 H 238.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#397EA8
RGBrgb(57, 126, 168)
HSLhsl(203, 49%, 44%)
HSVhsv(203, 66%, 66%)
CMYKcmyk(66.1%, 25%, 0%, 34.1%)
CIE-LABlab(50.24, -8.20, -28.77)
CIE-LCHlch(50.24, 29.92, 254.09°)
OKLaboklab(56.72% -0.0498 -0.0809)
OKLCHoklch(56.72% 0.095 238.4)
XYZxyz(16.2134, 18.6170, 39.7772)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397EA8 #A86339
analogous
#39A89B #397EA8 #3947A8
triadic
#397EA8 #A8397E #7EA839
tetradic
#397EA8 #9B39A8 #A86339 #47A839
square
#397EA8 #9B39A8 #A86339 #47A839
split-complementary
#397EA8 #A83947 #A89B39
monochromatic
#1A394D #295C7A #397EA8 #589DC6 #86B7D6

Accessibility & contrast

On white

4.45
#397EA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#397EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397EA8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397EA8#FFFFFF#000000##000000
##397EA81.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EAA
Deuteranopia (green-blind)
#5B73A7
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #397ea8;
/* rgb */ color: rgb(57, 126, 168);
/* oklch */ color: oklch(56.7% 0.095 238.4);
Tailwind
colors: {
  custom: {
    50: '#7ba3c2',
    500: '#397ea8',
    950: '#000000',
  },
}
SCSS
$custom: #397ea8;
$custom-light: #7ba3c2;
$custom-dark: #000000;
JSON
{
  "hex": "#397ea8",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 168
  },
  "hsl": {
    "h": 202.703,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56722,
    "c": 0.09496,
    "h": 238.4
  },
  "luminance": 0.18619
}

Semantic roles & 50–950 ramp

primary
#397EA8
secondary
#C0967D
accent
#834FD9
background
#F8FAFB
surface
#EFF3F7
border
#CACDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #397EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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