#317191#317191

#317191 is a mid, moderate cyan. Relative luminance 0.145; OKLCH L 52.1% C 0.082 H 233.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#317191
RGBrgb(49, 113, 145)
HSLhsl(200, 49%, 38%)
HSVhsv(200, 66%, 57%)
CMYKcmyk(66.2%, 22.1%, 0%, 43.1%)
CIE-LABlab(44.95, -9.94, -23.50)
CIE-LCHlch(44.95, 25.51, 247.06°)
OKLaboklab(52.11% -0.0492 -0.0658)
OKLCHoklch(52.11% 0.082 233.2)
XYZxyz(12.2806, 14.5063, 28.9354)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317191 #915131
analogous
#319181 #317191 #314191
triadic
#317191 #913171 #719131
tetradic
#317191 #813191 #915131 #419131
square
#317191 #813191 #915131 #419131
split-complementary
#317191 #913141 #918131
monochromatic
#122A36 #224D63 #317191 #4195BF #6EAECE

Accessibility & contrast

On white

5.38
#317191 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#317191 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317191
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317191#FFFFFF#000000##FFFFFF
##3171911.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617093
Deuteranopia (green-blind)
#546691
Tritanopia (blue-blind)
#007A7C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #317191;
/* rgb */ color: rgb(49, 113, 145);
/* oklch */ color: oklch(52.1% 0.082 233.2);
Tailwind
colors: {
  custom: {
    50: '#7499b1',
    500: '#317191',
    950: '#000000',
  },
}
SCSS
$custom: #317191;
$custom-light: #7499b1;
$custom-dark: #000000;
JSON
{
  "hex": "#317191",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 145
  },
  "hsl": {
    "h": 200,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.52113,
    "c": 0.08221,
    "h": 233.2
  },
  "luminance": 0.14508
}

Semantic roles & 50–950 ramp

primary
#317191
secondary
#B68268
accent
#7D4FD9
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #317191

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

Preview Lab → · Contrast checker → · Palette generator →

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