#396797#396797

#396797 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.3% C 0.092 H 251.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#396797
RGBrgb(57, 103, 151)
HSLhsl(211, 45%, 41%)
HSVhsv(211, 62%, 59%)
CMYKcmyk(62.3%, 31.8%, 0%, 40.8%)
CIE-LABlab(42.47, -0.33, -30.92)
CIE-LCHlch(42.47, 30.92, 269.39°)
OKLaboklab(50.33% -0.03 -0.0873)
OKLCHoklch(50.33% 0.092 251)
XYZxyz(12.1215, 12.8036, 31.1047)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396797 #976939
analogous
#399697 #396797 #3A3997
triadic
#396797 #973967 #679739
tetradic
#396797 #973996 #976939 #39973A
square
#396797 #973996 #976939 #39973A
split-complementary
#396797 #973A39 #969739
monochromatic
#172A3E #28496B #396797 #5085BD #7DA4CE

Accessibility & contrast

On white

5.90
#396797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#396797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396797
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396797#FFFFFF#000000##FFFFFF
##3967971.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536999
Deuteranopia (green-blind)
#466096
Tritanopia (blue-blind)
#007278
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #396797;
/* rgb */ color: rgb(57, 103, 151);
/* oklch */ color: oklch(50.3% 0.092 251.0);
Tailwind
colors: {
  custom: {
    50: '#7892b6',
    500: '#396797',
    950: '#000000',
  },
}
SCSS
$custom: #396797;
$custom-light: #7892b6;
$custom-dark: #000000;
JSON
{
  "hex": "#396797",
  "rgb": {
    "r": 57,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 210.638,
    "s": 45.192,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50328,
    "c": 0.09227,
    "h": 251
  },
  "luminance": 0.12805
}

Semantic roles & 50–950 ramp

primary
#396797
secondary
#B79775
accent
#9553D5
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #396797

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

Preview Lab → · Contrast checker → · Palette generator →

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