#318F9D#318F9D

#318F9D is a mid, moderate teal. Relative luminance 0.227; OKLCH L 60.2% C 0.088 H 209.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#318F9D
RGBrgb(49, 143, 157)
HSLhsl(188, 52%, 40%)
HSVhsv(188, 69%, 62%)
CMYKcmyk(68.8%, 8.9%, 0%, 38.4%)
CIE-LABlab(54.79, -22.48, -15.43)
CIE-LCHlch(54.79, 27.27, 214.47°)
OKLaboklab(60.16% -0.0769 -0.0429)
OKLCHoklch(60.16% 0.088 209.1)
XYZxyz(17.1723, 22.7303, 35.3741)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#318F9D #9D3F31
analogous
#319D75 #318F9D #31599D
triadic
#318F9D #9D318F #8F9D31
tetradic
#318F9D #75319D #9D3F31 #599D31
square
#318F9D #75319D #9D3F31 #599D31
split-complementary
#318F9D #9D3159 #9D7531
monochromatic
#143A40 #22656E #318F9D #46B5C5 #75C7D4

Accessibility & contrast

On white

3.79
#318F9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#318F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #318F9D
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##318F9D#FFFFFF#000000##000000
##318F9D1.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#828A9E
Deuteranopia (green-blind)
#737E9D
Tritanopia (blue-blind)
#009693
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #318f9d;
/* rgb */ color: rgb(49, 143, 157);
/* oklch */ color: oklch(60.2% 0.088 209.1);
Tailwind
colors: {
  custom: {
    50: '#78b0ba',
    500: '#318f9d',
    950: '#000000',
  },
}
SCSS
$custom: #318f9d;
$custom-light: #78b0ba;
$custom-dark: #000000;
JSON
{
  "hex": "#318f9d",
  "rgb": {
    "r": 49,
    "g": 143,
    "b": 157
  },
  "hsl": {
    "h": 187.778,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.60156,
    "c": 0.08809,
    "h": 209.1
  },
  "luminance": 0.22732
}

Semantic roles & 50–950 ramp

primary
#318F9D
secondary
#BC786E
accent
#5F4CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A1011
muted
#7C7F80

Preview Lab

Preview with #318F9D

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

Preview Lab → · Contrast checker → · Palette generator →

#318F9D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva