#317A8A#317A8A

#317A8A is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.1% C 0.075 H 214.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#317A8A
RGBrgb(49, 122, 138)
HSLhsl(191, 48%, 37%)
HSVhsv(191, 64%, 54%)
CMYKcmyk(64.5%, 11.6%, 0%, 45.9%)
CIE-LABlab(47.50, -17.35, -15.43)
CIE-LCHlch(47.50, 23.22, 221.65°)
OKLaboklab(54.06% -0.0621 -0.0429)
OKLCHoklch(54.06% 0.075 214.6)
XYZxyz(12.8117, 16.4057, 26.5312)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317A8A #8A4131
analogous
#318A6E #317A8A #314D8A
triadic
#317A8A #8A317A #7A8A31
tetradic
#317A8A #6E318A #8A4131 #4D8A31
square
#317A8A #6E318A #8A4131 #4D8A31
split-complementary
#317A8A #8A314D #8A6E31
monochromatic
#112A30 #21525D #317A8A #41A2B7 #6BB9CA

Accessibility & contrast

On white

4.90
#317A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#317A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317A8A
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317A8A#FFFFFF#000000##FFFFFF
##317A8A1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F768B
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#00807F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #317a8a;
/* rgb */ color: rgb(49, 122, 138);
/* oklch */ color: oklch(54.1% 0.075 214.6);
Tailwind
colors: {
  custom: {
    50: '#74a0ac',
    500: '#317a8a',
    950: '#000000',
  },
}
SCSS
$custom: #317a8a;
$custom-light: #74a0ac;
$custom-dark: #000000;
JSON
{
  "hex": "#317a8a",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 138
  },
  "hsl": {
    "h": 190.787,
    "s": 47.594,
    "l": 36.667
  },
  "oklch": {
    "l": 0.5406,
    "c": 0.07548,
    "h": 214.6
  },
  "luminance": 0.16407
}

Semantic roles & 50–950 ramp

primary
#317A8A
secondary
#B27365
accent
#6951D7
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #317A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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