#317196#317196

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

Color values

HEX#317196
RGBrgb(49, 113, 150)
HSLhsl(202, 51%, 39%)
HSVhsv(202, 67%, 59%)
CMYKcmyk(67.3%, 24.7%, 0%, 41.2%)
CIE-LABlab(45.17, -8.22, -26.12)
CIE-LCHlch(45.17, 27.38, 252.54°)
OKLaboklab(52.36% -0.0474 -0.0734)
OKLCHoklch(52.36% 0.087 237.1)
XYZxyz(12.6746, 14.6639, 31.0107)
Luminance0.1467 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317196 #965631
analogous
#319689 #317196 #313F96
triadic
#317196 #963171 #719631
tetradic
#317196 #893196 #965631 #3F9631
square
#317196 #893196 #965631 #3F9631
split-complementary
#317196 #96313F #968931
monochromatic
#132B3A #224E68 #317196 #4393C1 #71ADD1

Accessibility & contrast

On white

5.34
#317196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#317196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317196
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317196#FFFFFF#000000##FFFFFF
##3171961.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607198
Deuteranopia (green-blind)
#526695
Tritanopia (blue-blind)
#007A7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #317196;
/* rgb */ color: rgb(49, 113, 150);
/* oklch */ color: oklch(52.4% 0.087 237.1);
Tailwind
colors: {
  custom: {
    50: '#7599b5',
    500: '#317196',
    950: '#000000',
  },
}
SCSS
$custom: #317196;
$custom-light: #7599b5;
$custom-dark: #000000;
JSON
{
  "hex": "#317196",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 150
  },
  "hsl": {
    "h": 201.98,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.08736,
    "h": 237.1
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

primary
#317196
secondary
#B8876A
accent
#814EDA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317196

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

Preview Lab → · Contrast checker → · Palette generator →

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