#317396#317396

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

Color values

HEX#317396
RGBrgb(49, 115, 150)
HSLhsl(201, 51%, 39%)
HSVhsv(201, 67%, 59%)
CMYKcmyk(67.3%, 23.3%, 0%, 41.2%)
CIE-LABlab(45.79, -9.39, -25.16)
CIE-LCHlch(45.79, 26.85, 249.54°)
OKLaboklab(52.85% -0.0496 -0.0706)
OKLCHoklch(52.85% 0.086 234.9)
XYZxyz(12.9002, 15.1151, 31.0859)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317396 #965431
analogous
#319687 #317396 #314196
triadic
#317396 #963173 #739631
tetradic
#317396 #873196 #965431 #419631
square
#317396 #873196 #965431 #419631
split-complementary
#317396 #963141 #968731
monochromatic
#132C3A #225068 #317396 #4396C1 #71AFD1

Accessibility & contrast

On white

5.22
#317396 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#317396 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317396
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317396#FFFFFF#000000##FFFFFF
##3173961.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627298
Deuteranopia (green-blind)
#546895
Tritanopia (blue-blind)
#007C7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #317396;
/* rgb */ color: rgb(49, 115, 150);
/* oklch */ color: oklch(52.9% 0.086 234.9);
Tailwind
colors: {
  custom: {
    50: '#759bb5',
    500: '#317396',
    950: '#000000',
  },
}
SCSS
$custom: #317396;
$custom-light: #759bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#317396",
  "rgb": {
    "r": 49,
    "g": 115,
    "b": 150
  },
  "hsl": {
    "h": 200.792,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.52854,
    "c": 0.08626,
    "h": 234.9
  },
  "luminance": 0.15116
}

Semantic roles & 50–950 ramp

primary
#317396
secondary
#B8856A
accent
#7E4EDA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317396

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

Preview Lab → · Contrast checker → · Palette generator →

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