#317397#317397

#317397 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 52.9% C 0.087 H 235.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#317397
RGBrgb(49, 115, 151)
HSLhsl(201, 51%, 39%)
HSVhsv(201, 68%, 59%)
CMYKcmyk(67.5%, 23.8%, 0%, 40.8%)
CIE-LABlab(45.84, -9.04, -25.68)
CIE-LCHlch(45.84, 27.22, 250.60°)
OKLaboklab(52.9% -0.0492 -0.0721)
OKLCHoklch(52.9% 0.087 235.7)
XYZxyz(12.9811, 15.1474, 31.5118)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317397 #975531
analogous
#319788 #317397 #314097
triadic
#317397 #973173 #739731
tetradic
#317397 #883197 #975531 #409731
square
#317397 #883197 #975531 #409731
split-complementary
#317397 #973140 #978831
monochromatic
#132D3B #225069 #317397 #4395C2 #71AFD1

Accessibility & contrast

On white

5.21
#317397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#317397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317397
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317397#FFFFFF#000000##FFFFFF
##3173971.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627299
Deuteranopia (green-blind)
#546896
Tritanopia (blue-blind)
#007C7F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #317397;
/* rgb */ color: rgb(49, 115, 151);
/* oklch */ color: oklch(52.9% 0.087 235.7);
Tailwind
colors: {
  custom: {
    50: '#759bb5',
    500: '#317397',
    950: '#000000',
  },
}
SCSS
$custom: #317397;
$custom-light: #759bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#317397",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 151
  },
  "hsl": {
    "h": 201.176,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.52903,
    "c": 0.08729,
    "h": 235.7
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#317397
secondary
#B9866B
accent
#7F4DDA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317397

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

Preview Lab → · Contrast checker → · Palette generator →

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