#398E9B#398E9B

#398E9B is a mid, moderate teal. Relative luminance 0.226; OKLCH L 60.1% C 0.083 H 209.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#398E9B
RGBrgb(57, 142, 155)
HSLhsl(188, 46%, 42%)
HSVhsv(188, 63%, 61%)
CMYKcmyk(63.2%, 8.4%, 0%, 39.2%)
CIE-LABlab(54.64, -21.25, -14.50)
CIE-LCHlch(54.64, 25.73, 214.30°)
OKLaboklab(60.07% -0.0723 -0.0402)
OKLCHoklch(60.07% 0.083 209.1)
XYZxyz(17.2743, 22.5806, 34.4521)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E9B #9B4639
analogous
#399B77 #398E9B #395D9B
triadic
#398E9B #9B398E #8E9B39
tetradic
#398E9B #77399B #9B4639 #5D9B39
square
#398E9B #77399B #9B4639 #5D9B39
split-complementary
#398E9B #9B395D #9B7739
monochromatic
#183C42 #29656E #398E9B #52B1BF #7FC5D0

Accessibility & contrast

On white

3.81
#398E9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#398E9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E9B
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E9B#FFFFFF#000000##000000
##398E9B1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82899C
Deuteranopia (green-blind)
#747E9B
Tritanopia (blue-blind)
#009492
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #398e9b;
/* rgb */ color: rgb(57, 142, 155);
/* oklch */ color: oklch(60.1% 0.083 209.1);
Tailwind
colors: {
  custom: {
    50: '#7bafb8',
    500: '#398e9b',
    950: '#000000',
  },
}
SCSS
$custom: #398e9b;
$custom-light: #7bafb8;
$custom-dark: #000000;
JSON
{
  "hex": "#398e9b",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 155
  },
  "hsl": {
    "h": 187.959,
    "s": 46.226,
    "l": 41.569
  },
  "oklch": {
    "l": 0.60071,
    "c": 0.08275,
    "h": 209.1
  },
  "luminance": 0.22582
}

Semantic roles & 50–950 ramp

primary
#398E9B
secondary
#B97F77
accent
#6352D6
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #398E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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