#398AB7#398AB7

#398AB7 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.3% C 0.104 H 236.5°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#398AB7
RGBrgb(57, 138, 183)
HSLhsl(201, 53%, 47%)
HSVhsv(201, 69%, 72%)
CMYKcmyk(68.9%, 24.6%, 0%, 28.2%)
CIE-LABlab(54.52, -9.96, -30.75)
CIE-LCHlch(54.52, 32.32, 252.05°)
OKLaboklab(60.34% -0.0572 -0.0865)
OKLCHoklch(60.34% 0.104 236.5)
XYZxyz(19.3197, 22.4636, 48.1083)
Luminance0.2247 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AB7 #B76639
analogous
#39B7A5 #398AB7 #394BB7
triadic
#398AB7 #B7398A #8AB739
tetradic
#398AB7 #A539B7 #B76639 #4BB739
square
#398AB7 #A539B7 #B76639 #4BB739
split-complementary
#398AB7 #B7394B #B7A539
monochromatic
#1C445A #2A6788 #398AB7 #60A6CD #8EC0DC

Accessibility & contrast

On white

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

On black

5.49
#398AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398AB7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398AB7#FFFFFF#000000##000000
##398AB71.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7589B9
Deuteranopia (green-blind)
#637DB6
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #398ab7;
/* rgb */ color: rgb(57, 138, 183);
/* oklch */ color: oklch(60.3% 0.104 236.5);
Tailwind
colors: {
  custom: {
    50: '#7eaccc',
    500: '#398ab7',
    950: '#000000',
  },
}
SCSS
$custom: #398ab7;
$custom-light: #7eaccc;
$custom-dark: #000000;
JSON
{
  "hex": "#398ab7",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 183
  },
  "hsl": {
    "h": 201.429,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.60337,
    "c": 0.10369,
    "h": 236.5
  },
  "luminance": 0.22466
}

Semantic roles & 50–950 ramp

primary
#398AB7
secondary
#C79D85
accent
#7F4CDC
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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