#398795#398795

#398795 is a mid, moderate teal. Relative luminance 0.204; OKLCH L 58.1% C 0.078 H 211.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#398795
RGBrgb(57, 135, 149)
HSLhsl(189, 45%, 40%)
HSVhsv(189, 62%, 58%)
CMYKcmyk(61.7%, 9.4%, 0%, 41.6%)
CIE-LABlab(52.25, -19.40, -14.64)
CIE-LCHlch(52.25, 24.31, 217.04°)
OKLaboklab(58.08% -0.0671 -0.0406)
OKLCHoklch(58.08% 0.078 211.2)
XYZxyz(15.7739, 20.3661, 31.5277)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398795 #954739
analogous
#399575 #398795 #395995
triadic
#398795 #953987 #879539
tetradic
#398795 #753995 #954739 #599539
square
#398795 #753995 #954739 #599539
split-complementary
#398795 #953959 #957539
monochromatic
#17373C #285F69 #398795 #4FABBC #7CC0CD

Accessibility & contrast

On white

4.14
#398795 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#398795 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398795
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398795#FFFFFF#000000##000000
##3987951.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8296
Deuteranopia (green-blind)
#6E7895
Tritanopia (blue-blind)
#008D8B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398795;
/* rgb */ color: rgb(57, 135, 149);
/* oklch */ color: oklch(58.1% 0.078 211.2);
Tailwind
colors: {
  custom: {
    50: '#79aab4',
    500: '#398795',
    950: '#000000',
  },
}
SCSS
$custom: #398795;
$custom-light: #79aab4;
$custom-dark: #000000;
JSON
{
  "hex": "#398795",
  "rgb": {
    "r": 57,
    "g": 135,
    "b": 149
  },
  "hsl": {
    "h": 189.13,
    "s": 44.66,
    "l": 40.392
  },
  "oklch": {
    "l": 0.58079,
    "c": 0.07842,
    "h": 211.2
  },
  "luminance": 0.20368
}

Semantic roles & 50–950 ramp

primary
#398795
secondary
#B67E74
accent
#6753D4
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #398795

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

Preview Lab → · Contrast checker → · Palette generator →

#398795 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva