#397498#397498

#397498 is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.5% C 0.084 H 237.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#397498
RGBrgb(57, 116, 152)
HSLhsl(203, 45%, 41%)
HSVhsv(203, 63%, 60%)
CMYKcmyk(62.5%, 23.7%, 0%, 40.4%)
CIE-LABlab(46.48, -7.80, -25.25)
CIE-LCHlch(46.48, 26.43, 252.82°)
OKLaboklab(53.51% -0.0444 -0.0708)
OKLCHoklch(53.51% 0.084 237.9)
XYZxyz(13.5981, 15.6263, 31.9992)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397498 #985D39
analogous
#39988C #397498 #394498
triadic
#397498 #983974 #749839
tetradic
#397498 #8C3998 #985D39 #449839
square
#397498 #8C3998 #985D39 #449839
split-complementary
#397498 #983944 #988C39
monochromatic
#18303F #28526B #397498 #5194BE #7DB0CE

Accessibility & contrast

On white

5.09
#397498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#397498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397498
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397498#FFFFFF#000000##FFFFFF
##3974981.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63749A
Deuteranopia (green-blind)
#566A97
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397498;
/* rgb */ color: rgb(57, 116, 152);
/* oklch */ color: oklch(53.5% 0.084 237.9);
Tailwind
colors: {
  custom: {
    50: '#799cb6',
    500: '#397498',
    950: '#000000',
  },
}
SCSS
$custom: #397498;
$custom-light: #799cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#397498",
  "rgb": {
    "r": 57,
    "g": 116,
    "b": 152
  },
  "hsl": {
    "h": 202.737,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53511,
    "c": 0.08355,
    "h": 237.9
  },
  "luminance": 0.15628
}

Semantic roles & 50–950 ramp

primary
#397498
secondary
#B88E75
accent
#8453D5
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #397498

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

Preview Lab → · Contrast checker → · Palette generator →

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