#317391#317391

#317391 is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 52.6% C 0.081 H 230.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#317391
RGBrgb(49, 115, 145)
HSLhsl(199, 49%, 38%)
HSVhsv(199, 66%, 57%)
CMYKcmyk(66.2%, 20.7%, 0%, 43.1%)
CIE-LABlab(45.58, -11.10, -22.53)
CIE-LCHlch(45.58, 25.12, 243.77°)
OKLaboklab(52.61% -0.0514 -0.0631)
OKLCHoklch(52.61% 0.081 230.8)
XYZxyz(12.5062, 14.9575, 29.0106)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317391 #914F31
analogous
#31917F #317391 #314391
triadic
#317391 #913173 #739131
tetradic
#317391 #7F3191 #914F31 #439131
square
#317391 #7F3191 #914F31 #439131
split-complementary
#317391 #913143 #917F31
monochromatic
#122A36 #224F63 #317391 #4197BF #6EB0CE

Accessibility & contrast

On white

5.26
#317391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#317391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317391
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317391#FFFFFF#000000##FFFFFF
##3173911.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647192
Deuteranopia (green-blind)
#576891
Tritanopia (blue-blind)
#007B7D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317391;
/* rgb */ color: rgb(49, 115, 145);
/* oklch */ color: oklch(52.6% 0.081 230.8);
Tailwind
colors: {
  custom: {
    50: '#749bb1',
    500: '#317391',
    950: '#000000',
  },
}
SCSS
$custom: #317391;
$custom-light: #749bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#317391",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 145
  },
  "hsl": {
    "h": 198.75,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.52611,
    "c": 0.08139,
    "h": 230.8
  },
  "luminance": 0.14959
}

Semantic roles & 50–950 ramp

primary
#317391
secondary
#B68068
accent
#7A4FD9
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #317391

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

Preview Lab → · Contrast checker → · Palette generator →

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