#398AB2#398AB2

#398AB2 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 60.1% C 0.099 H 233.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#398AB2
RGBrgb(57, 138, 178)
HSLhsl(200, 51%, 46%)
HSVhsv(200, 68%, 70%)
CMYKcmyk(68%, 22.5%, 0%, 30.2%)
CIE-LABlab(54.30, -11.65, -28.22)
CIE-LCHlch(54.30, 30.54, 247.57°)
OKLaboklab(60.1% -0.059 -0.0792)
OKLCHoklch(60.1% 0.099 233.3)
XYZxyz(18.8085, 22.2591, 45.4160)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AB2 #B26139
analogous
#39B29D #398AB2 #394DB2
triadic
#398AB2 #B2398A #8AB239
tetradic
#398AB2 #9D39B2 #B26139 #4DB239
square
#398AB2 #9D39B2 #B26139 #4DB239
split-complementary
#398AB2 #B2394D #B29D39
monochromatic
#1B4255 #2A6684 #398AB2 #5DA7CB #8BC0DA

Accessibility & contrast

On white

3.85
#398AB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#398AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398AB2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398AB2#FFFFFF#000000##000000
##398AB21.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7689B4
Deuteranopia (green-blind)
#667DB1
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #398ab2;
/* rgb */ color: rgb(57, 138, 178);
/* oklch */ color: oklch(60.1% 0.099 233.3);
Tailwind
colors: {
  custom: {
    50: '#7dacc9',
    500: '#398ab2',
    950: '#000000',
  },
}
SCSS
$custom: #398ab2;
$custom-light: #7dacc9;
$custom-dark: #000000;
JSON
{
  "hex": "#398ab2",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 178
  },
  "hsl": {
    "h": 199.835,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.60095,
    "c": 0.09874,
    "h": 233.3
  },
  "luminance": 0.22261
}

Semantic roles & 50–950 ramp

primary
#398AB2
secondary
#C49882
accent
#7C4DDB
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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