#396799#396799

#396799 is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.4% C 0.095 H 252.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#396799
RGBrgb(57, 103, 153)
HSLhsl(211, 46%, 41%)
HSVhsv(211, 63%, 60%)
CMYKcmyk(62.7%, 32.7%, 0%, 40%)
CIE-LABlab(42.57, 0.37, -31.95)
CIE-LCHlch(42.57, 31.95, 270.66°)
OKLaboklab(50.44% -0.0294 -0.0903)
OKLCHoklch(50.44% 0.095 252)
XYZxyz(12.2853, 12.8691, 31.9674)
Luminance0.1287 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396799 #996B39
analogous
#399799 #396799 #3B3999
triadic
#396799 #993967 #679939
tetradic
#396799 #993997 #996B39 #39993B
square
#396799 #993997 #996B39 #39993B
split-complementary
#396799 #993B39 #979939
monochromatic
#182B40 #28496C #396799 #5185BE #7EA5CF

Accessibility & contrast

On white

5.88
#396799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#396799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #396799
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396799#FFFFFF#000000##FFFFFF
##3967991.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526A9B
Deuteranopia (green-blind)
#456098
Tritanopia (blue-blind)
#007379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #396799;
/* rgb */ color: rgb(57, 103, 153);
/* oklch */ color: oklch(50.4% 0.095 252.0);
Tailwind
colors: {
  custom: {
    50: '#7892b7',
    500: '#396799',
    950: '#000000',
  },
}
SCSS
$custom: #396799;
$custom-light: #7892b7;
$custom-dark: #000000;
JSON
{
  "hex": "#396799",
  "rgb": {
    "r": 57,
    "g": 103,
    "b": 153
  },
  "hsl": {
    "h": 211.25,
    "s": 45.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50439,
    "c": 0.09493,
    "h": 252
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#396799
secondary
#B89876
accent
#9752D5
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #396799

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

Preview Lab → · Contrast checker → · Palette generator →

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