#317A97#317A97

#317A97 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.6% C 0.084 H 227.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#317A97
RGBrgb(49, 122, 151)
HSLhsl(197, 51%, 39%)
HSVhsv(197, 68%, 59%)
CMYKcmyk(67.5%, 19.2%, 0%, 40.8%)
CIE-LABlab(48.01, -13.06, -22.31)
CIE-LCHlch(48.01, 25.85, 239.65°)
OKLaboklab(54.64% -0.0568 -0.0624)
OKLCHoklch(54.64% 0.084 227.7)
XYZxyz(13.8098, 16.8049, 31.7880)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A97 #974E31
analogous
#319781 #317A97 #314797
triadic
#317A97 #97317A #7A9731
tetradic
#317A97 #813197 #974E31 #479731
square
#317A97 #813197 #974E31 #479731
split-complementary
#317A97 #973147 #978131
monochromatic
#132F3B #225569 #317A97 #439EC2 #71B6D1

Accessibility & contrast

On white

4.82
#317A97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#317A97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317A97
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317A97#FFFFFF#000000##FFFFFF
##317A971.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7898
Deuteranopia (green-blind)
#5C6D97
Tritanopia (blue-blind)
#008283
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #317a97;
/* rgb */ color: rgb(49, 122, 151);
/* oklch */ color: oklch(54.6% 0.084 227.7);
Tailwind
colors: {
  custom: {
    50: '#75a0b5',
    500: '#317a97',
    950: '#000000',
  },
}
SCSS
$custom: #317a97;
$custom-light: #75a0b5;
$custom-dark: #000000;
JSON
{
  "hex": "#317a97",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 151
  },
  "hsl": {
    "h": 197.059,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.54638,
    "c": 0.08439,
    "h": 227.7
  },
  "luminance": 0.16806
}

Semantic roles & 50–950 ramp

primary
#317A97
secondary
#B9816B
accent
#754DDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317A97

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

Preview Lab → · Contrast checker → · Palette generator →

#317A97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva