#397DAB#397DAB

#397DAB is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.6% C 0.099 H 241.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#397DAB
RGBrgb(57, 125, 171)
HSLhsl(204, 50%, 45%)
HSVhsv(204, 67%, 67%)
CMYKcmyk(66.7%, 26.9%, 0%, 32.9%)
CIE-LABlab(50.07, -6.59, -30.78)
CIE-LCHlch(50.07, 31.47, 257.91°)
OKLaboklab(56.63% -0.0477 -0.0867)
OKLCHoklch(56.63% 0.099 241.2)
XYZxyz(16.3688, 18.4757, 41.2237)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397DAB #AB6739
analogous
#39ABA0 #397DAB #3944AB
triadic
#397DAB #AB397D #7DAB39
tetradic
#397DAB #A039AB #AB6739 #44AB39
square
#397DAB #A039AB #AB6739 #44AB39
split-complementary
#397DAB #AB3944 #ABA039
monochromatic
#1A3A4F #2A5B7D #397DAB #599BC8 #87B7D7

Accessibility & contrast

On white

4.47
#397DAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#397DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #397DAB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397DAB#FFFFFF#000000##000000
##397DAB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#687DAD
Deuteranopia (green-blind)
#5872AA
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #397dab;
/* rgb */ color: rgb(57, 125, 171);
/* oklch */ color: oklch(56.6% 0.099 241.2);
Tailwind
colors: {
  custom: {
    50: '#7ca2c4',
    500: '#397dab',
    950: '#000000',
  },
}
SCSS
$custom: #397dab;
$custom-light: #7ca2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#397dab",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 171
  },
  "hsl": {
    "h": 204.211,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56633,
    "c": 0.09892,
    "h": 241.2
  },
  "luminance": 0.18477
}

Semantic roles & 50–950 ramp

primary
#397DAB
secondary
#C1997F
accent
#864EDA
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #397DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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