#317E97#317E97

#317E97 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.6% C 0.084 H 222.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#317E97
RGBrgb(49, 126, 151)
HSLhsl(195, 51%, 39%)
HSVhsv(195, 68%, 59%)
CMYKcmyk(67.5%, 16.6%, 0%, 40.8%)
CIE-LABlab(49.26, -15.30, -20.39)
CIE-LCHlch(49.26, 25.49, 233.11°)
OKLaboklab(55.64% -0.0612 -0.0569)
OKLCHoklch(55.64% 0.084 222.9)
XYZxyz(14.3111, 17.8075, 31.9551)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317E97 #974A31
analogous
#31977D #317E97 #314B97
triadic
#317E97 #97317E #7E9731
tetradic
#317E97 #7D3197 #974A31 #4B9731
square
#317E97 #7D3197 #974A31 #4B9731
split-complementary
#317E97 #97314B #977D31
monochromatic
#13313B #225769 #317E97 #43A3C2 #71BAD1

Accessibility & contrast

On white

4.60
#317E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#317E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317E97
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317E97#FFFFFF#000000##FFFFFF
##317E971.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707B98
Deuteranopia (green-blind)
#617197
Tritanopia (blue-blind)
#008686
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317e97;
/* rgb */ color: rgb(49, 126, 151);
/* oklch */ color: oklch(55.6% 0.084 222.9);
Tailwind
colors: {
  custom: {
    50: '#76a3b5',
    500: '#317e97',
    950: '#000000',
  },
}
SCSS
$custom: #317e97;
$custom-light: #76a3b5;
$custom-dark: #000000;
JSON
{
  "hex": "#317e97",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 151
  },
  "hsl": {
    "h": 194.706,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.55637,
    "c": 0.08354,
    "h": 222.9
  },
  "luminance": 0.17809
}

Semantic roles & 50–950 ramp

primary
#317E97
secondary
#B97E6B
accent
#704DDA
background
#F7FAFB
surface
#EEF3F6
border
#C9CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #317E97

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

Preview Lab → · Contrast checker → · Palette generator →

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