#398AB4#398AB4

#398AB4 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.2% C 0.101 H 234.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#398AB4
RGBrgb(57, 138, 180)
HSLhsl(200, 52%, 46%)
HSVhsv(200, 68%, 71%)
CMYKcmyk(68.3%, 23.3%, 0%, 29.4%)
CIE-LABlab(54.39, -10.98, -29.24)
CIE-LCHlch(54.39, 31.23, 249.42°)
OKLaboklab(60.19% -0.0582 -0.0821)
OKLCHoklch(60.19% 0.101 234.7)
XYZxyz(19.0108, 22.3400, 46.4813)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AB4 #B46339
analogous
#39B4A1 #398AB4 #394DB4
triadic
#398AB4 #B4398A #8AB439
tetradic
#398AB4 #A139B4 #B46339 #4DB439
square
#398AB4 #A139B4 #B46339 #4DB439
split-complementary
#398AB4 #B4394D #B4A139
monochromatic
#1C4357 #2A6686 #398AB4 #5EA7CC #8DC0DB

Accessibility & contrast

On white

3.84
#398AB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#398AB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398AB4
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398AB4#FFFFFF#000000##000000
##398AB41.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7689B6
Deuteranopia (green-blind)
#657DB3
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #398ab4;
/* rgb */ color: rgb(57, 138, 180);
/* oklch */ color: oklch(60.2% 0.101 234.7);
Tailwind
colors: {
  custom: {
    50: '#7eacca',
    500: '#398ab4',
    950: '#000000',
  },
}
SCSS
$custom: #398ab4;
$custom-light: #7eacca;
$custom-dark: #000000;
JSON
{
  "hex": "#398ab4",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 180
  },
  "hsl": {
    "h": 200.488,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.60191,
    "c": 0.10068,
    "h": 234.7
  },
  "luminance": 0.22342
}

Semantic roles & 50–950 ramp

primary
#398AB4
secondary
#C59A83
accent
#7D4CDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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