#398BB1#398BB1

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

Color values

HEX#398BB1
RGBrgb(57, 139, 177)
HSLhsl(199, 51%, 46%)
HSVhsv(199, 68%, 69%)
CMYKcmyk(67.8%, 21.5%, 0%, 30.6%)
CIE-LABlab(54.56, -12.55, -27.25)
CIE-LCHlch(54.56, 30.00, 245.27°)
OKLaboklab(60.29% -0.0604 -0.0764)
OKLCHoklch(60.29% 0.097 231.7)
XYZxyz(18.8526, 22.5074, 44.9372)
Luminance0.2251 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BB1 #B15F39
analogous
#39B19B #398BB1 #394FB1
triadic
#398BB1 #B1398B #8BB139
tetradic
#398BB1 #9B39B1 #B15F39 #4FB139
square
#398BB1 #9B39B1 #B15F39 #4FB139
split-complementary
#398BB1 #B1394F #B19B39
monochromatic
#1B4254 #2A6783 #398BB1 #5DA8CB #8BC1DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398BB1#FFFFFF#000000##000000
##398BB11.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)
#7889B3
Deuteranopia (green-blind)
#677DB0
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398bb1;
/* rgb */ color: rgb(57, 139, 177);
/* oklch */ color: oklch(60.3% 0.097 231.7);
Tailwind
colors: {
  custom: {
    50: '#7dacc8',
    500: '#398bb1',
    950: '#000000',
  },
}
SCSS
$custom: #398bb1;
$custom-light: #7dacc8;
$custom-dark: #000000;
JSON
{
  "hex": "#398bb1",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 177
  },
  "hsl": {
    "h": 199,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.60289,
    "c": 0.09737,
    "h": 231.7
  },
  "luminance": 0.22509
}

Semantic roles & 50–950 ramp

primary
#398BB1
secondary
#C49782
accent
#7A4DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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