#398AB8#398AB8

#398AB8 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.4% C 0.105 H 237.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#398AB8
RGBrgb(57, 138, 184)
HSLhsl(202, 53%, 47%)
HSVhsv(202, 69%, 72%)
CMYKcmyk(69%, 25%, 0%, 27.8%)
CIE-LABlab(54.56, -9.62, -31.25)
CIE-LCHlch(54.56, 32.70, 252.89°)
OKLaboklab(60.39% -0.0568 -0.0879)
OKLCHoklch(60.39% 0.105 237.1)
XYZxyz(19.4242, 22.5054, 48.6584)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AB8 #B86739
analogous
#39B8A6 #398AB8 #394BB8
triadic
#398AB8 #B8398A #8AB839
tetradic
#398AB8 #A639B8 #B86739 #4BB839
square
#398AB8 #A639B8 #B86739 #4BB839
split-complementary
#398AB8 #B8394B #B8A639
monochromatic
#1C445B #2B6789 #398AB8 #60A6CE #8FC0DC

Accessibility & contrast

On white

3.82
#398AB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#398AB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398AB8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398AB8#FFFFFF#000000##000000
##398AB81.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7489BA
Deuteranopia (green-blind)
#637DB7
Tritanopia (blue-blind)
#00969A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #398ab8;
/* rgb */ color: rgb(57, 138, 184);
/* oklch */ color: oklch(60.4% 0.105 237.1);
Tailwind
colors: {
  custom: {
    50: '#7eaccd',
    500: '#398ab8',
    950: '#000000',
  },
}
SCSS
$custom: #398ab8;
$custom-light: #7eaccd;
$custom-dark: #000000;
JSON
{
  "hex": "#398ab8",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 184
  },
  "hsl": {
    "h": 201.732,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.60386,
    "c": 0.10472,
    "h": 237.1
  },
  "luminance": 0.22508
}

Semantic roles & 50–950 ramp

primary
#398AB8
secondary
#C79D86
accent
#804CDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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