#398CA7#398CA7

#398CA7 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.1% C 0.089 H 222.8°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#398CA7
RGBrgb(57, 140, 167)
HSLhsl(195, 49%, 44%)
HSVhsv(195, 66%, 65%)
CMYKcmyk(65.9%, 16.2%, 0%, 34.5%)
CIE-LABlab(54.46, -16.39, -21.66)
CIE-LCHlch(54.46, 27.17, 232.89°)
OKLaboklab(60.08% -0.0652 -0.0604)
OKLCHoklch(60.08% 0.089 222.8)
XYZxyz(18.0377, 22.4141, 39.9275)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398CA7 #A75439
analogous
#39A78B #398CA7 #3955A7
triadic
#398CA7 #A7398C #8CA739
tetradic
#398CA7 #8B39A7 #A75439 #55A739
square
#398CA7 #8B39A7 #A75439 #55A739
split-complementary
#398CA7 #A73955 #A78B39
monochromatic
#1A404C #296679 #398CA7 #57ABC6 #85C2D5

Accessibility & contrast

On white

3.83
#398CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#398CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398CA7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398CA7#FFFFFF#000000##000000
##398CA71.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C89A8
Deuteranopia (green-blind)
#6D7DA7
Tritanopia (blue-blind)
#009495
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #398ca7;
/* rgb */ color: rgb(57, 140, 167);
/* oklch */ color: oklch(60.1% 0.089 222.8);
Tailwind
colors: {
  custom: {
    50: '#7cadc1',
    500: '#398ca7',
    950: '#000000',
  },
}
SCSS
$custom: #398ca7;
$custom-light: #7cadc1;
$custom-dark: #000000;
JSON
{
  "hex": "#398ca7",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 167
  },
  "hsl": {
    "h": 194.727,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.60078,
    "c": 0.08891,
    "h": 222.8
  },
  "luminance": 0.22416
}

Semantic roles & 50–950 ramp

primary
#398CA7
secondary
#BF8D7D
accent
#714FD9
background
#F8FAFB
surface
#EFF4F7
border
#CACED0
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #398CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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