#318798#318798

#318798 is a mid, moderate teal. Relative luminance 0.202; OKLCH L 57.9% C 0.084 H 213.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#318798
RGBrgb(49, 135, 152)
HSLhsl(190, 51%, 39%)
HSVhsv(190, 68%, 60%)
CMYKcmyk(67.8%, 11.2%, 0%, 40.4%)
CIE-LABlab(52.11, -19.86, -16.61)
CIE-LCHlch(52.11, 25.90, 219.91°)
OKLaboklab(57.94% -0.0705 -0.0462)
OKLCHoklch(57.94% 0.084 213.2)
XYZxyz(15.5957, 20.2462, 32.7857)
Luminance0.2025 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318798 #984231
analogous
#319876 #318798 #315498
triadic
#318798 #983187 #879831
tetradic
#318798 #763198 #984231 #549831
square
#318798 #763198 #984231 #549831
split-complementary
#318798 #983154 #987631
monochromatic
#13353B #225E6A #318798 #44AEC3 #72C2D2

Accessibility & contrast

On white

4.16
#318798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#318798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318798
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318798#FFFFFF#000000##000000
##3187981.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8399
Deuteranopia (green-blind)
#6B7898
Tritanopia (blue-blind)
#008E8C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #318798;
/* rgb */ color: rgb(49, 135, 152);
/* oklch */ color: oklch(57.9% 0.084 213.2);
Tailwind
colors: {
  custom: {
    50: '#76aab6',
    500: '#318798',
    950: '#000000',
  },
}
SCSS
$custom: #318798;
$custom-light: #76aab6;
$custom-dark: #000000;
JSON
{
  "hex": "#318798",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 152
  },
  "hsl": {
    "h": 189.903,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.57939,
    "c": 0.08429,
    "h": 213.2
  },
  "luminance": 0.20248
}

Semantic roles & 50–950 ramp

primary
#318798
secondary
#B9786B
accent
#644DDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #318798

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

Preview Lab → · Contrast checker → · Palette generator →

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