#398BAD#398BAD

#398BAD is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.1% C 0.094 H 228.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#398BAD
RGBrgb(57, 139, 173)
HSLhsl(198, 50%, 45%)
HSVhsv(198, 67%, 68%)
CMYKcmyk(67.1%, 19.7%, 0%, 32.2%)
CIE-LABlab(54.40, -13.88, -25.21)
CIE-LCHlch(54.40, 28.78, 241.17°)
OKLaboklab(60.1% -0.0618 -0.0705)
OKLCHoklch(60.1% 0.094 228.8)
XYZxyz(18.4598, 22.3502, 42.8682)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398BAD #AD5B39
analogous
#39AD95 #398BAD #3951AD
triadic
#398BAD #AD398B #8BAD39
tetradic
#398BAD #9539AD #AD5B39 #51AD39
square
#398BAD #9539AD #AD5B39 #51AD39
split-complementary
#398BAD #AD3951 #AD9539
monochromatic
#1B4151 #2A667F #398BAD #5AA8C9 #88C1D8

Accessibility & contrast

On white

3.84
#398BAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#398BAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398BAD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398BAD#FFFFFF#000000##000000
##398BAD1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7989AF
Deuteranopia (green-blind)
#697DAD
Tritanopia (blue-blind)
#009596
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #398bad;
/* rgb */ color: rgb(57, 139, 173);
/* oklch */ color: oklch(60.1% 0.094 228.8);
Tailwind
colors: {
  custom: {
    50: '#7dadc5',
    500: '#398bad',
    950: '#000000',
  },
}
SCSS
$custom: #398bad;
$custom-light: #7dadc5;
$custom-dark: #000000;
JSON
{
  "hex": "#398bad",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 173
  },
  "hsl": {
    "h": 197.586,
    "s": 50.435,
    "l": 45.098
  },
  "oklch": {
    "l": 0.60103,
    "c": 0.09382,
    "h": 228.8
  },
  "luminance": 0.22352
}

Semantic roles & 50–950 ramp

primary
#398BAD
secondary
#C29380
accent
#774EDA
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #398BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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