#397198#397198

#397198 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.8% C 0.085 H 241.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#397198
RGBrgb(57, 113, 152)
HSLhsl(205, 45%, 41%)
HSVhsv(205, 63%, 60%)
CMYKcmyk(62.5%, 25.7%, 0%, 40.4%)
CIE-LABlab(45.56, -6.04, -26.68)
CIE-LCHlch(45.56, 27.35, 257.25°)
OKLaboklab(52.78% -0.041 -0.0749)
OKLCHoklch(52.78% 0.085 241.3)
XYZxyz(13.2578, 14.9458, 31.8858)
Luminance0.1495 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397198 #986039
analogous
#39988F #397198 #394198
triadic
#397198 #983971 #719839
tetradic
#397198 #8F3998 #986039 #419839
square
#397198 #8F3998 #986039 #419839
split-complementary
#397198 #983941 #988F39
monochromatic
#182F3F #28506B #397198 #5191BE #7DADCE

Accessibility & contrast

On white

5.26
#397198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#397198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397198
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397198#FFFFFF#000000##FFFFFF
##3971981.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60719A
Deuteranopia (green-blind)
#536897
Tritanopia (blue-blind)
#007B7E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397198;
/* rgb */ color: rgb(57, 113, 152);
/* oklch */ color: oklch(52.8% 0.085 241.3);
Tailwind
colors: {
  custom: {
    50: '#7899b6',
    500: '#397198',
    950: '#000000',
  },
}
SCSS
$custom: #397198;
$custom-light: #7899b6;
$custom-dark: #000000;
JSON
{
  "hex": "#397198",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 152
  },
  "hsl": {
    "h": 204.632,
    "s": 45.455,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.08539,
    "h": 241.3
  },
  "luminance": 0.14947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #397198

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

Preview Lab → · Contrast checker → · Palette generator →

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