#317896#317896

#317896 is a mid, moderate cyan. Relative luminance 0.163; OKLCH L 54.1% C 0.084 H 229.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#317896
RGBrgb(49, 120, 150)
HSLhsl(198, 51%, 39%)
HSVhsv(198, 67%, 59%)
CMYKcmyk(67.3%, 20%, 0%, 41.2%)
CIE-LABlab(47.35, -12.27, -22.75)
CIE-LCHlch(47.35, 25.84, 241.66°)
OKLaboklab(54.09% -0.055 -0.0637)
OKLCHoklch(54.09% 0.084 229.2)
XYZxyz(13.4859, 16.2865, 31.2811)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317896 #964F31
analogous
#319682 #317896 #314696
triadic
#317896 #963178 #789631
tetradic
#317896 #823196 #964F31 #469631
square
#317896 #823196 #964F31 #469631
split-complementary
#317896 #963146 #968231
monochromatic
#132E3A #225368 #317896 #439CC1 #71B4D1

Accessibility & contrast

On white

4.93
#317896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#317896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317896
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317896#FFFFFF#000000##FFFFFF
##3178961.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697697
Deuteranopia (green-blind)
#5A6C96
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #317896;
/* rgb */ color: rgb(49, 120, 150);
/* oklch */ color: oklch(54.1% 0.084 229.2);
Tailwind
colors: {
  custom: {
    50: '#759fb5',
    500: '#317896',
    950: '#000000',
  },
}
SCSS
$custom: #317896;
$custom-light: #759fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#317896",
  "rgb": {
    "r": 49,
    "g": 120,
    "b": 150
  },
  "hsl": {
    "h": 197.822,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54094,
    "c": 0.08415,
    "h": 229.2
  },
  "luminance": 0.16288
}

Semantic roles & 50–950 ramp

primary
#317896
secondary
#B8826A
accent
#774EDA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #317896

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

Preview Lab → · Contrast checker → · Palette generator →

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