#317366#317366

#317366 is a mid, moderate teal. Relative luminance 0.139; OKLCH L 50.9% C 0.071 H 178.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#317366
RGBrgb(49, 115, 102)
HSLhsl(168, 40%, 32%)
HSVhsv(168, 57%, 45%)
CMYKcmyk(57.4%, 0%, 11.3%, 54.9%)
CIE-LABlab(44.05, -24.42, 0.87)
CIE-LCHlch(44.05, 24.44, 177.97°)
OKLaboklab(50.88% -0.0706 0.0019)
OKLCHoklch(50.88% 0.071 178.4)
XYZxyz(9.7946, 13.8728, 14.7294)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317366 #73313E
analogous
#317345 #317366 #315F73
triadic
#317366 #663173 #736631
tetradic
#317366 #453173 #73313E #5F7331
square
#317366 #453173 #73313E #5F7331
split-complementary
#317366 #73315F #734531
monochromatic
#0C1D1A #1F4840 #317366 #439E8C #62BCAA

Accessibility & contrast

On white

5.56
#317366 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#317366 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317366
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317366#FFFFFF#000000##FFFFFF
##3173661.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6D65
Deuteranopia (green-blind)
#646567
Tritanopia (blue-blind)
#05756F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #317366;
/* rgb */ color: rgb(49, 115, 102);
/* oklch */ color: oklch(50.9% 0.071 178.4);
Tailwind
colors: {
  custom: {
    50: '#709b91',
    500: '#317366',
    950: '#000000',
  },
}
SCSS
$custom: #317366;
$custom-light: #709b91;
$custom-dark: #000000;
JSON
{
  "hex": "#317366",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 102
  },
  "hsl": {
    "h": 168.182,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.50879,
    "c": 0.07059,
    "h": 178.4
  },
  "luminance": 0.13874
}

Semantic roles & 50–950 ramp

primary
#317366
secondary
#A45C6A
accent
#586FD0
background
#F7F9F8
surface
#EDF2F0
border
#C8CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #317366

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

Preview Lab → · Contrast checker → · Palette generator →

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