#317997#317997

#317997 is a mid, moderate cyan. Relative luminance 0.166; OKLCH L 54.4% C 0.085 H 228.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#317997
RGBrgb(49, 121, 151)
HSLhsl(198, 51%, 39%)
HSVhsv(198, 68%, 59%)
CMYKcmyk(67.5%, 19.9%, 0%, 40.8%)
CIE-LABlab(47.70, -12.50, -22.79)
CIE-LCHlch(47.70, 25.99, 241.27°)
OKLaboklab(54.39% -0.0557 -0.0638)
OKLCHoklch(54.39% 0.085 228.8)
XYZxyz(13.6877, 16.5606, 31.7473)
Luminance0.1656 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317997 #974F31
analogous
#319782 #317997 #314697
triadic
#317997 #973179 #799731
tetradic
#317997 #823197 #974F31 #469731
square
#317997 #823197 #974F31 #469731
split-complementary
#317997 #973146 #978231
monochromatic
#132F3B #225469 #317997 #439DC2 #71B5D1

Accessibility & contrast

On white

4.87
#317997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#317997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317997
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317997#FFFFFF#000000##FFFFFF
##3179971.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697798
Deuteranopia (green-blind)
#5B6D97
Tritanopia (blue-blind)
#008183
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #317997;
/* rgb */ color: rgb(49, 121, 151);
/* oklch */ color: oklch(54.4% 0.085 228.8);
Tailwind
colors: {
  custom: {
    50: '#759fb5',
    500: '#317997',
    950: '#000000',
  },
}
SCSS
$custom: #317997;
$custom-light: #759fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#317997",
  "rgb": {
    "r": 49,
    "g": 121,
    "b": 151
  },
  "hsl": {
    "h": 197.647,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5439,
    "c": 0.0847,
    "h": 228.8
  },
  "luminance": 0.16562
}

Semantic roles & 50–950 ramp

primary
#317997
secondary
#B9826B
accent
#774DDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317997

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

Preview Lab → · Contrast checker → · Palette generator →

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