#398AB5#398AB5

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

Color values

HEX#398AB5
RGBrgb(57, 138, 181)
HSLhsl(201, 52%, 47%)
HSVhsv(201, 69%, 71%)
CMYKcmyk(68.5%, 23.8%, 0%, 29%)
CIE-LABlab(54.43, -10.64, -29.74)
CIE-LCHlch(54.43, 31.59, 250.31°)
OKLaboklab(60.24% -0.0579 -0.0836)
OKLCHoklch(60.24% 0.102 235.3)
XYZxyz(19.1130, 22.3809, 47.0198)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AB5 #B56439
analogous
#39B5A2 #398AB5 #394CB5
triadic
#398AB5 #B5398A #8AB539
tetradic
#398AB5 #A239B5 #B56439 #4CB539
square
#398AB5 #A239B5 #B56439 #4CB539
split-complementary
#398AB5 #B5394C #B5A239
monochromatic
#1C4358 #2A6786 #398AB5 #5FA6CD #8DC0DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398AB5#FFFFFF#000000##000000
##398AB51.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)
#7589B7
Deuteranopia (green-blind)
#647DB4
Tritanopia (blue-blind)
#009599
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #398ab5;
/* rgb */ color: rgb(57, 138, 181);
/* oklch */ color: oklch(60.2% 0.102 235.3);
Tailwind
colors: {
  custom: {
    50: '#7eaccb',
    500: '#398ab5',
    950: '#000000',
  },
}
SCSS
$custom: #398ab5;
$custom-light: #7eaccb;
$custom-dark: #000000;
JSON
{
  "hex": "#398ab5",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 181
  },
  "hsl": {
    "h": 200.806,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.60239,
    "c": 0.10167,
    "h": 235.3
  },
  "luminance": 0.22383
}

Semantic roles & 50–950 ramp

primary
#398AB5
secondary
#C69B84
accent
#7E4CDC
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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