#317291#317291

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

Color values

HEX#317291
RGBrgb(49, 114, 145)
HSLhsl(199, 49%, 38%)
HSVhsv(199, 66%, 57%)
CMYKcmyk(66.2%, 21.4%, 0%, 43.1%)
CIE-LABlab(45.26, -10.52, -23.01)
CIE-LCHlch(45.26, 25.31, 245.42°)
OKLaboklab(52.36% -0.0503 -0.0644)
OKLCHoklch(52.36% 0.082 232)
XYZxyz(12.3928, 14.7306, 28.9728)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317291 #915031
analogous
#319180 #317291 #314291
triadic
#317291 #913172 #729131
tetradic
#317291 #803191 #915031 #429131
square
#317291 #803191 #915031 #429131
split-complementary
#317291 #913142 #918031
monochromatic
#122A36 #224E63 #317291 #4196BF #6EAFCE

Accessibility & contrast

On white

5.32
#317291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#317291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317291
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317291#FFFFFF#000000##FFFFFF
##3172911.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637193
Deuteranopia (green-blind)
#556791
Tritanopia (blue-blind)
#007A7C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #317291;
/* rgb */ color: rgb(49, 114, 145);
/* oklch */ color: oklch(52.4% 0.082 232.0);
Tailwind
colors: {
  custom: {
    50: '#749ab1',
    500: '#317291',
    950: '#000000',
  },
}
SCSS
$custom: #317291;
$custom-light: #749ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#317291",
  "rgb": {
    "r": 49,
    "g": 114,
    "b": 145
  },
  "hsl": {
    "h": 199.375,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.52362,
    "c": 0.08178,
    "h": 232
  },
  "luminance": 0.14732
}

Semantic roles & 50–950 ramp

primary
#317291
secondary
#B68168
accent
#7B4FD9
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #317291

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

Preview Lab → · Contrast checker → · Palette generator →

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