#398BA7#398BA7

#398BA7 is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.8% C 0.089 H 223.9°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#398BA7
RGBrgb(57, 139, 167)
HSLhsl(195, 49%, 44%)
HSVhsv(195, 66%, 65%)
CMYKcmyk(65.9%, 16.8%, 0%, 34.5%)
CIE-LABlab(54.16, -15.85, -22.13)
CIE-LCHlch(54.16, 27.22, 234.40°)
OKLaboklab(59.83% -0.0641 -0.0618)
OKLCHoklch(59.83% 0.089 223.9)
XYZxyz(17.8922, 22.1232, 39.8790)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BA7 #A75539
analogous
#39A78C #398BA7 #3954A7
triadic
#398BA7 #A7398B #8BA739
tetradic
#398BA7 #8C39A7 #A75539 #54A739
square
#398BA7 #8C39A7 #A75539 #54A739
split-complementary
#398BA7 #A73954 #A78C39
monochromatic
#1A3F4C #296579 #398BA7 #57AAC6 #85C1D5

Accessibility & contrast

On white

3.87
#398BA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#398BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398BA7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398BA7#FFFFFF#000000##000000
##398BA71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B88A8
Deuteranopia (green-blind)
#6C7DA7
Tritanopia (blue-blind)
#009494
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #398ba7;
/* rgb */ color: rgb(57, 139, 167);
/* oklch */ color: oklch(59.8% 0.089 223.9);
Tailwind
colors: {
  custom: {
    50: '#7cadc1',
    500: '#398ba7',
    950: '#000000',
  },
}
SCSS
$custom: #398ba7;
$custom-light: #7cadc1;
$custom-dark: #000000;
JSON
{
  "hex": "#398ba7",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 167
  },
  "hsl": {
    "h": 195.273,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.59833,
    "c": 0.08905,
    "h": 223.9
  },
  "luminance": 0.22125
}

Semantic roles & 50–950 ramp

primary
#398BA7
secondary
#BF8E7D
accent
#724FD9
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #398BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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