#398FA7#398FA7

#398FA7 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.8% C 0.089 H 219.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#398FA7
RGBrgb(57, 143, 167)
HSLhsl(193, 49%, 44%)
HSVhsv(193, 66%, 65%)
CMYKcmyk(65.9%, 14.4%, 0%, 34.5%)
CIE-LABlab(55.38, -18.01, -20.26)
CIE-LCHlch(55.38, 27.11, 228.35°)
OKLaboklab(60.81% -0.0684 -0.0564)
OKLCHoklch(60.81% 0.089 219.5)
XYZxyz(18.4820, 23.3028, 40.0756)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398FA7 #A75139
analogous
#39A788 #398FA7 #3958A7
triadic
#398FA7 #A7398F #8FA739
tetradic
#398FA7 #8839A7 #A75139 #58A739
square
#398FA7 #8839A7 #A75139 #58A739
split-complementary
#398FA7 #A73958 #A78839
monochromatic
#1A414C #296879 #398FA7 #57AEC6 #85C4D5

Accessibility & contrast

On white

3.71
#398FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#398FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398FA7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398FA7#FFFFFF#000000##000000
##398FA71.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#808BA8
Deuteranopia (green-blind)
#7080A7
Tritanopia (blue-blind)
#009797
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #398fa7;
/* rgb */ color: rgb(57, 143, 167);
/* oklch */ color: oklch(60.8% 0.089 219.5);
Tailwind
colors: {
  custom: {
    50: '#7cb0c1',
    500: '#398fa7',
    950: '#000000',
  },
}
SCSS
$custom: #398fa7;
$custom-light: #7cb0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#398fa7",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 167
  },
  "hsl": {
    "h": 193.091,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.60814,
    "c": 0.08871,
    "h": 219.5
  },
  "luminance": 0.23305
}

Semantic roles & 50–950 ramp

primary
#398FA7
secondary
#BF8B7D
accent
#6D4FD9
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0B1012
muted
#7C7F81

Preview Lab

Preview with #398FA7

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

Preview Lab → · Contrast checker → · Palette generator →

#398FA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva