#398D9D#398D9D

#398D9D is a mid, moderate teal. Relative luminance 0.224; OKLCH L 59.9% C 0.083 H 212.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#398D9D
RGBrgb(57, 141, 157)
HSLhsl(190, 47%, 42%)
HSVhsv(190, 64%, 62%)
CMYKcmyk(63.7%, 10.2%, 0%, 38.4%)
CIE-LABlab(54.40, -20.11, -16.01)
CIE-LCHlch(54.40, 25.70, 218.53°)
OKLaboklab(59.9% -0.0704 -0.0444)
OKLCHoklch(59.9% 0.083 212.3)
XYZxyz(17.2955, 22.3521, 35.2946)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D9D #9D4939
analogous
#399D7B #398D9D #395B9D
triadic
#398D9D #9D398D #8D9D39
tetradic
#398D9D #7B399D #9D4939 #5B9D39
square
#398D9D #7B399D #9D4939 #5B9D39
split-complementary
#398D9D #9D395B #9D7B39
monochromatic
#183C43 #296570 #398D9D #53AFC0 #80C4D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398D9D#FFFFFF#000000##000000
##398D9D1.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)
#80889E
Deuteranopia (green-blind)
#727D9D
Tritanopia (blue-blind)
#009492
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #398d9d;
/* rgb */ color: rgb(57, 141, 157);
/* oklch */ color: oklch(59.9% 0.083 212.3);
Tailwind
colors: {
  custom: {
    50: '#7baeba',
    500: '#398d9d',
    950: '#000000',
  },
}
SCSS
$custom: #398d9d;
$custom-light: #7baeba;
$custom-dark: #000000;
JSON
{
  "hex": "#398d9d",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 157
  },
  "hsl": {
    "h": 189.6,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.59902,
    "c": 0.08324,
    "h": 212.3
  },
  "luminance": 0.22354
}

Semantic roles & 50–950 ramp

primary
#398D9D
secondary
#BA8278
accent
#6751D6
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #398D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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