#397794#397794

#397794 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.1% C 0.078 H 230.9°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#397794
RGBrgb(57, 119, 148)
HSLhsl(199, 44%, 40%)
HSVhsv(199, 61%, 58%)
CMYKcmyk(61.5%, 19.6%, 0%, 42%)
CIE-LABlab(47.24, -10.88, -21.72)
CIE-LCHlch(47.24, 24.29, 243.40°)
OKLaboklab(54.06% -0.0493 -0.0606)
OKLCHoklch(54.06% 0.078 230.9)
XYZxyz(13.6274, 16.2003, 30.4200)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397794 #945639
analogous
#399483 #397794 #394994
triadic
#397794 #943977 #779439
tetradic
#397794 #833994 #945639 #499439
square
#397794 #833994 #945639 #499439
split-complementary
#397794 #943949 #948339
monochromatic
#17303C #285368 #397794 #4F99BB #7BB2CC

Accessibility & contrast

On white

4.95
#397794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#397794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397794
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397794#FFFFFF#000000##FFFFFF
##3977941.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687595
Deuteranopia (green-blind)
#5C6C94
Tritanopia (blue-blind)
#007F81
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397794;
/* rgb */ color: rgb(57, 119, 148);
/* oklch */ color: oklch(54.1% 0.078 230.9);
Tailwind
colors: {
  custom: {
    50: '#789eb3',
    500: '#397794',
    950: '#000000',
  },
}
SCSS
$custom: #397794;
$custom-light: #789eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#397794",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 148
  },
  "hsl": {
    "h": 199.121,
    "s": 44.39,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54056,
    "c": 0.07816,
    "h": 230.9
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

primary
#397794
secondary
#B68873
accent
#7D54D4
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #397794

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

Preview Lab → · Contrast checker → · Palette generator →

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