#397EA7#397EA7

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

Color values

HEX#397EA7
RGBrgb(57, 126, 167)
HSLhsl(202, 49%, 44%)
HSVhsv(202, 66%, 65%)
CMYKcmyk(65.9%, 24.6%, 0%, 34.5%)
CIE-LABlab(50.19, -8.54, -28.26)
CIE-LCHlch(50.19, 29.52, 253.18°)
OKLaboklab(56.67% -0.0501 -0.0794)
OKLCHoklch(56.67% 0.094 237.7)
XYZxyz(16.1206, 18.5799, 39.2884)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397EA7 #A76239
analogous
#39A799 #397EA7 #3947A7
triadic
#397EA7 #A7397E #7EA739
tetradic
#397EA7 #9939A7 #A76239 #47A739
square
#397EA7 #9939A7 #A76239 #47A739
split-complementary
#397EA7 #A73947 #A79939
monochromatic
#1A394C #295C79 #397EA7 #579DC6 #85B7D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397EA7#FFFFFF#000000##000000
##397EA71.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)
#6B7EA9
Deuteranopia (green-blind)
#5C73A6
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #397ea7;
/* rgb */ color: rgb(57, 126, 167);
/* oklch */ color: oklch(56.7% 0.094 237.7);
Tailwind
colors: {
  custom: {
    50: '#7ba3c1',
    500: '#397ea7',
    950: '#000000',
  },
}
SCSS
$custom: #397ea7;
$custom-light: #7ba3c1;
$custom-dark: #000000;
JSON
{
  "hex": "#397ea7",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 167
  },
  "hsl": {
    "h": 202.364,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56673,
    "c": 0.0939,
    "h": 237.7
  },
  "luminance": 0.18582
}

Semantic roles & 50–950 ramp

primary
#397EA7
secondary
#BF957D
accent
#824FD9
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #397EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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