#397791#397791

#397791 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.9% C 0.075 H 228.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#397791
RGBrgb(57, 119, 145)
HSLhsl(198, 44%, 40%)
HSVhsv(198, 61%, 57%)
CMYKcmyk(60.7%, 17.9%, 0%, 43.1%)
CIE-LABlab(47.11, -11.86, -20.14)
CIE-LCHlch(47.11, 23.37, 239.51°)
OKLaboklab(53.92% -0.0505 -0.0561)
OKLCHoklch(53.92% 0.075 228)
XYZxyz(13.3930, 16.1066, 29.1856)
Luminance0.1611 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397791 #915339
analogous
#39917F #397791 #394B91
triadic
#397791 #913977 #779139
tetradic
#397791 #7F3991 #915339 #4B9139
square
#397791 #7F3991 #915339 #4B9139
split-complementary
#397791 #91394B #917F39
monochromatic
#162F39 #285365 #397791 #4E9AB9 #7AB3CB

Accessibility & contrast

On white

4.97
#397791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#397791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397791
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397791#FFFFFF#000000##FFFFFF
##3977911.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697592
Deuteranopia (green-blind)
#5D6C91
Tritanopia (blue-blind)
#007E7F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397791;
/* rgb */ color: rgb(57, 119, 145);
/* oklch */ color: oklch(53.9% 0.075 228.0);
Tailwind
colors: {
  custom: {
    50: '#789eb1',
    500: '#397791',
    950: '#000000',
  },
}
SCSS
$custom: #397791;
$custom-light: #789eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#397791",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 145
  },
  "hsl": {
    "h": 197.727,
    "s": 43.564,
    "l": 39.608
  },
  "oklch": {
    "l": 0.53918,
    "c": 0.07548,
    "h": 228
  },
  "luminance": 0.16108
}

Semantic roles & 50–950 ramp

primary
#397791
secondary
#B48572
accent
#7A54D3
background
#F7F9FA
surface
#EEF2F5
border
#C9CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #397791

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

Preview Lab → · Contrast checker → · Palette generator →

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