#317797#317797

#317797 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.9% C 0.085 H 231.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#317797
RGBrgb(49, 119, 151)
HSLhsl(199, 51%, 39%)
HSVhsv(199, 68%, 59%)
CMYKcmyk(67.5%, 21.2%, 0%, 40.8%)
CIE-LABlab(47.08, -11.36, -23.75)
CIE-LCHlch(47.08, 26.33, 244.45°)
OKLaboklab(53.89% -0.0536 -0.0665)
OKLCHoklch(53.89% 0.085 231.2)
XYZxyz(13.4472, 16.0796, 31.6671)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317797 #975131
analogous
#319784 #317797 #314497
triadic
#317797 #973177 #779731
tetradic
#317797 #843197 #975131 #449731
square
#317797 #843197 #975131 #449731
split-complementary
#317797 #973144 #978431
monochromatic
#132E3B #225369 #317797 #439AC2 #71B3D1

Accessibility & contrast

On white

4.98
#317797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#317797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317797
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317797#FFFFFF#000000##FFFFFF
##3177971.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677599
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #317797;
/* rgb */ color: rgb(49, 119, 151);
/* oklch */ color: oklch(53.9% 0.085 231.2);
Tailwind
colors: {
  custom: {
    50: '#759eb5',
    500: '#317797',
    950: '#000000',
  },
}
SCSS
$custom: #317797;
$custom-light: #759eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#317797",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 151
  },
  "hsl": {
    "h": 198.824,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.53893,
    "c": 0.08542,
    "h": 231.2
  },
  "luminance": 0.16081
}

Semantic roles & 50–950 ramp

primary
#317797
secondary
#B9836B
accent
#7A4DDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317797

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

Preview Lab → · Contrast checker → · Palette generator →

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