#396791#396791

#396791 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 50.0% C 0.084 H 247.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#396791
RGBrgb(57, 103, 145)
HSLhsl(209, 44%, 40%)
HSVhsv(209, 61%, 57%)
CMYKcmyk(60.7%, 29%, 0%, 43.1%)
CIE-LABlab(42.18, -2.41, -27.79)
CIE-LCHlch(42.18, 27.89, 265.04°)
OKLaboklab(50% -0.0319 -0.0782)
OKLCHoklch(50% 0.084 247.8)
XYZxyz(11.6466, 12.6136, 28.6035)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396791 #916339
analogous
#39918F #396791 #393B91
triadic
#396791 #913967 #679139
tetradic
#396791 #8F3991 #916339 #3B9139
square
#396791 #8F3991 #916339 #3B9139
split-complementary
#396791 #91393B #918F39
monochromatic
#162939 #284865 #396791 #4E86B9 #7AA4CB

Accessibility & contrast

On white

5.96
#396791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#396791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396791
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396791#FFFFFF#000000##FFFFFF
##3967911.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556893
Deuteranopia (green-blind)
#496090
Tritanopia (blue-blind)
#007176
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #396791;
/* rgb */ color: rgb(57, 103, 145);
/* oklch */ color: oklch(50.0% 0.084 247.8);
Tailwind
colors: {
  custom: {
    50: '#7792b1',
    500: '#396791',
    950: '#000000',
  },
}
SCSS
$custom: #396791;
$custom-light: #7792b1;
$custom-dark: #000000;
JSON
{
  "hex": "#396791",
  "rgb": {
    "r": 57,
    "g": 103,
    "b": 145
  },
  "hsl": {
    "h": 208.636,
    "s": 43.564,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50004,
    "c": 0.08443,
    "h": 247.8
  },
  "luminance": 0.12615
}

Semantic roles & 50–950 ramp

primary
#396791
secondary
#B49172
accent
#9154D3
background
#F7F8FA
surface
#EEF0F5
border
#C9CBCF
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #396791

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

Preview Lab → · Contrast checker → · Palette generator →

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