#317197#317197

#317197 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.4% C 0.088 H 237.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#317197
RGBrgb(49, 113, 151)
HSLhsl(202, 51%, 39%)
HSVhsv(202, 68%, 59%)
CMYKcmyk(67.5%, 25.2%, 0%, 40.8%)
CIE-LABlab(45.22, -7.87, -26.64)
CIE-LCHlch(45.22, 27.78, 253.55°)
OKLaboklab(52.41% -0.047 -0.0749)
OKLCHoklch(52.41% 0.088 237.9)
XYZxyz(12.7555, 14.6962, 31.4366)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317197 #975731
analogous
#31978A #317197 #313E97
triadic
#317197 #973171 #719731
tetradic
#317197 #8A3197 #975731 #3E9731
square
#317197 #8A3197 #975731 #3E9731
split-complementary
#317197 #97313E #978A31
monochromatic
#132C3B #224E69 #317197 #4393C2 #71ADD1

Accessibility & contrast

On white

5.33
#317197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#317197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317197
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317197#FFFFFF#000000##FFFFFF
##3171971.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7199
Deuteranopia (green-blind)
#516796
Tritanopia (blue-blind)
#007B7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #317197;
/* rgb */ color: rgb(49, 113, 151);
/* oklch */ color: oklch(52.4% 0.088 237.9);
Tailwind
colors: {
  custom: {
    50: '#7599b5',
    500: '#317197',
    950: '#000000',
  },
}
SCSS
$custom: #317197;
$custom-light: #7599b5;
$custom-dark: #000000;
JSON
{
  "hex": "#317197",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 151
  },
  "hsl": {
    "h": 202.353,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52411,
    "c": 0.08845,
    "h": 237.9
  },
  "luminance": 0.14698
}

Semantic roles & 50–950 ramp

primary
#317197
secondary
#B9886B
accent
#824DDA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317197

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

Preview Lab → · Contrast checker → · Palette generator →

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