#397298#397298

#397298 is a mid, moderate cyan. Relative luminance 0.152; OKLCH L 53.0% C 0.085 H 240.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#397298
RGBrgb(57, 114, 152)
HSLhsl(204, 45%, 41%)
HSVhsv(204, 63%, 60%)
CMYKcmyk(62.5%, 25%, 0%, 40.4%)
CIE-LABlab(45.87, -6.63, -26.20)
CIE-LCHlch(45.87, 27.02, 255.80°)
OKLaboklab(53.03% -0.0421 -0.0735)
OKLCHoklch(53.03% 0.085 240.2)
XYZxyz(13.3700, 15.1702, 31.9232)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397298 #985F39
analogous
#39988E #397298 #394298
triadic
#397298 #983972 #729839
tetradic
#397298 #8E3998 #985F39 #429839
square
#397298 #8E3998 #985F39 #429839
split-complementary
#397298 #983942 #988E39
monochromatic
#182F3F #28516B #397298 #5192BE #7DAECE

Accessibility & contrast

On white

5.21
#397298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#397298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397298
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397298#FFFFFF#000000##FFFFFF
##3972981.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61729A
Deuteranopia (green-blind)
#546897
Tritanopia (blue-blind)
#007B7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397298;
/* rgb */ color: rgb(57, 114, 152);
/* oklch */ color: oklch(53.0% 0.085 240.2);
Tailwind
colors: {
  custom: {
    50: '#799ab6',
    500: '#397298',
    950: '#000000',
  },
}
SCSS
$custom: #397298;
$custom-light: #799ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#397298",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 152
  },
  "hsl": {
    "h": 204,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.53025,
    "c": 0.08474,
    "h": 240.2
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#397298
secondary
#B89075
accent
#8753D5
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E11
muted
#7C7E80

Preview Lab

Preview with #397298

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

Preview Lab → · Contrast checker → · Palette generator →

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