#397FA8#397FA8

#397FA8 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.0% C 0.094 H 237.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#397FA8
RGBrgb(57, 127, 168)
HSLhsl(202, 49%, 44%)
HSVhsv(202, 66%, 66%)
CMYKcmyk(66.1%, 24.4%, 0%, 34.1%)
CIE-LABlab(50.54, -8.78, -28.30)
CIE-LCHlch(50.54, 29.63, 252.77°)
OKLaboklab(56.96% -0.0509 -0.0795)
OKLCHoklch(56.96% 0.094 237.4)
XYZxyz(16.3419, 18.8741, 39.8200)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397FA8 #A86239
analogous
#39A89A #397FA8 #3948A8
triadic
#397FA8 #A8397F #7FA839
tetradic
#397FA8 #9A39A8 #A86239 #48A839
square
#397FA8 #9A39A8 #A86239 #48A839
split-complementary
#397FA8 #A83948 #A89A39
monochromatic
#1A3A4D #295C7A #397FA8 #589EC6 #86B8D6

Accessibility & contrast

On white

4.40
#397FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#397FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397FA8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397FA8#FFFFFF#000000##000000
##397FA81.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EAA
Deuteranopia (green-blind)
#5D73A7
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #397fa8;
/* rgb */ color: rgb(57, 127, 168);
/* oklch */ color: oklch(57.0% 0.094 237.4);
Tailwind
colors: {
  custom: {
    50: '#7ba4c2',
    500: '#397fa8',
    950: '#000000',
  },
}
SCSS
$custom: #397fa8;
$custom-light: #7ba4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#397fa8",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 202.162,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56963,
    "c": 0.09438,
    "h": 237.4
  },
  "luminance": 0.18876
}

Semantic roles & 50–950 ramp

primary
#397FA8
secondary
#C0967D
accent
#824FD9
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #397FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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