#317796#317796

#317796 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.8% C 0.085 H 230.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#317796
RGBrgb(49, 119, 150)
HSLhsl(198, 51%, 39%)
HSVhsv(198, 67%, 59%)
CMYKcmyk(67.3%, 20.7%, 0%, 41.2%)
CIE-LABlab(47.04, -11.70, -23.23)
CIE-LCHlch(47.04, 26.01, 243.27°)
OKLaboklab(53.85% -0.0539 -0.065)
OKLCHoklch(53.85% 0.085 230.3)
XYZxyz(13.3663, 16.0472, 31.2412)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317796 #965031
analogous
#319683 #317796 #314596
triadic
#317796 #963177 #779631
tetradic
#317796 #833196 #965031 #459631
square
#317796 #833196 #965031 #459631
split-complementary
#317796 #963145 #968331
monochromatic
#132E3A #225268 #317796 #439BC1 #71B3D1

Accessibility & contrast

On white

4.99
#317796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#317796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317796
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317796#FFFFFF#000000##FFFFFF
##3177961.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677598
Deuteranopia (green-blind)
#596B96
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #317796;
/* rgb */ color: rgb(49, 119, 150);
/* oklch */ color: oklch(53.8% 0.085 230.3);
Tailwind
colors: {
  custom: {
    50: '#759eb5',
    500: '#317796',
    950: '#000000',
  },
}
SCSS
$custom: #317796;
$custom-light: #759eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#317796",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 150
  },
  "hsl": {
    "h": 198.416,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.53845,
    "c": 0.0845,
    "h": 230.3
  },
  "luminance": 0.16049
}

Semantic roles & 50–950 ramp

primary
#317796
secondary
#B8826A
accent
#794EDA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317796

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

Preview Lab → · Contrast checker → · Palette generator →

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