#398AB1#398AB1

#398AB1 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 60.0% C 0.098 H 232.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#398AB1
RGBrgb(57, 138, 177)
HSLhsl(200, 51%, 46%)
HSVhsv(200, 68%, 69%)
CMYKcmyk(67.8%, 22%, 0%, 30.6%)
CIE-LABlab(54.26, -11.99, -27.72)
CIE-LCHlch(54.26, 30.20, 246.61°)
OKLaboklab(60.05% -0.0593 -0.0777)
OKLCHoklch(60.05% 0.098 232.7)
XYZxyz(18.7085, 22.2191, 44.8892)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398AB1 #B16039
analogous
#39B19C #398AB1 #394EB1
triadic
#398AB1 #B1398A #8AB139
tetradic
#398AB1 #9C39B1 #B16039 #4EB139
square
#398AB1 #9C39B1 #B16039 #4EB139
split-complementary
#398AB1 #B1394E #B19C39
monochromatic
#1B4254 #2A6683 #398AB1 #5DA7CB #8BC0DA

Accessibility & contrast

On white

3.86
#398AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#398AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398AB1
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398AB1#FFFFFF#000000##000000
##398AB11.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7788B3
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#009497
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #398ab1;
/* rgb */ color: rgb(57, 138, 177);
/* oklch */ color: oklch(60.0% 0.098 232.7);
Tailwind
colors: {
  custom: {
    50: '#7dacc8',
    500: '#398ab1',
    950: '#000000',
  },
}
SCSS
$custom: #398ab1;
$custom-light: #7dacc8;
$custom-dark: #000000;
JSON
{
  "hex": "#398ab1",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 177
  },
  "hsl": {
    "h": 199.5,
    "s": 51.282,
    "l": 45.882
  },
  "oklch": {
    "l": 0.60048,
    "c": 0.0978,
    "h": 232.7
  },
  "luminance": 0.22221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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