#396798#396798

#396798 is a mid, moderate cyan. Relative luminance 0.128; OKLCH L 50.4% C 0.094 H 251.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#396798
RGBrgb(57, 103, 152)
HSLhsl(211, 45%, 41%)
HSVhsv(211, 63%, 60%)
CMYKcmyk(62.5%, 32.2%, 0%, 40.4%)
CIE-LABlab(42.52, 0.02, -31.43)
CIE-LCHlch(42.52, 31.43, 270.03°)
OKLaboklab(50.38% -0.0297 -0.0888)
OKLCHoklch(50.38% 0.094 251.5)
XYZxyz(12.2030, 12.8362, 31.5342)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#396798 #986A39
analogous
#399698 #396798 #3A3998
triadic
#396798 #983967 #679839
tetradic
#396798 #983996 #986A39 #39983A
square
#396798 #983996 #986A39 #39983A
split-complementary
#396798 #983A39 #969839
monochromatic
#182B3F #28496B #396798 #5185BE #7DA4CE

Accessibility & contrast

On white

5.89
#396798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #396798
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##396798#FFFFFF#000000##FFFFFF
##3967981.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52699A
Deuteranopia (green-blind)
#456097
Tritanopia (blue-blind)
#007278
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #396798;
/* rgb */ color: rgb(57, 103, 152);
/* oklch */ color: oklch(50.4% 0.094 251.5);
Tailwind
colors: {
  custom: {
    50: '#7892b6',
    500: '#396798',
    950: '#000000',
  },
}
SCSS
$custom: #396798;
$custom-light: #7892b6;
$custom-dark: #000000;
JSON
{
  "hex": "#396798",
  "rgb": {
    "r": 57,
    "g": 103,
    "b": 152
  },
  "hsl": {
    "h": 210.947,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50383,
    "c": 0.09359,
    "h": 251.5
  },
  "luminance": 0.12837
}

Semantic roles & 50–950 ramp

primary
#396798
secondary
#B89775
accent
#9653D5
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0C11
muted
#7C7D80

Preview Lab

Preview with #396798

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

Preview Lab → · Contrast checker → · Palette generator →

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