#317581#317581

#317581 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.4% C 0.070 H 210.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#317581
RGBrgb(49, 117, 129)
HSLhsl(189, 45%, 35%)
HSVhsv(189, 62%, 51%)
CMYKcmyk(62%, 9.3%, 0%, 49.4%)
CIE-LABlab(45.58, -17.49, -13.01)
CIE-LCHlch(45.58, 21.80, 216.65°)
OKLaboklab(52.4% -0.0603 -0.0361)
OKLCHoklch(52.4% 0.07 210.9)
XYZxyz(11.5887, 14.9594, 23.0413)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317581 #813D31
analogous
#318165 #317581 #314D81
triadic
#317581 #813175 #758131
tetradic
#317581 #653181 #813D31 #4D8131
square
#317581 #653181 #813D31 #4D8131
split-complementary
#317581 #81314D #816531
monochromatic
#0F2528 #204D55 #317581 #429DAD #67B7C5

Accessibility & contrast

On white

5.26
#317581 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#317581 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317581
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317581#FFFFFF#000000##FFFFFF
##3175811.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7182
Deuteranopia (green-blind)
#5F6881
Tritanopia (blue-blind)
#007A79
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317581;
/* rgb */ color: rgb(49, 117, 129);
/* oklch */ color: oklch(52.4% 0.070 210.9);
Tailwind
colors: {
  custom: {
    50: '#729da5',
    500: '#317581',
    950: '#000000',
  },
}
SCSS
$custom: #317581;
$custom-light: #729da5;
$custom-dark: #000000;
JSON
{
  "hex": "#317581",
  "rgb": {
    "r": 49,
    "g": 117,
    "b": 129
  },
  "hsl": {
    "h": 189,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.52404,
    "c": 0.07026,
    "h": 210.9
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#317581
secondary
#AD6C61
accent
#6753D5
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #317581

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

Preview Lab → · Contrast checker → · Palette generator →

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