#317B95#317B95

#317B95 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.8% C 0.083 H 224.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#317B95
RGBrgb(49, 123, 149)
HSLhsl(196, 51%, 39%)
HSVhsv(196, 67%, 58%)
CMYKcmyk(67.1%, 17.4%, 0%, 41.6%)
CIE-LABlab(48.24, -14.30, -20.78)
CIE-LCHlch(48.24, 25.22, 235.47°)
OKLaboklab(54.8% -0.0587 -0.058)
OKLCHoklch(54.8% 0.083 224.7)
XYZxyz(13.7722, 16.9873, 30.9810)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317B95 #954B31
analogous
#31957D #317B95 #314995
triadic
#317B95 #95317B #7B9531
tetradic
#317B95 #7D3195 #954B31 #499531
square
#317B95 #7D3195 #954B31 #499531
split-complementary
#317B95 #953149 #957D31
monochromatic
#132F39 #225567 #317B95 #42A0C1 #70B7D0

Accessibility & contrast

On white

4.78
#317B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#317B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317B95
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317B95#FFFFFF#000000##FFFFFF
##317B951.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7896
Deuteranopia (green-blind)
#5F6E95
Tritanopia (blue-blind)
#008383
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #317b95;
/* rgb */ color: rgb(49, 123, 149);
/* oklch */ color: oklch(54.8% 0.083 224.7);
Tailwind
colors: {
  custom: {
    50: '#75a1b4',
    500: '#317b95',
    950: '#000000',
  },
}
SCSS
$custom: #317b95;
$custom-light: #75a1b4;
$custom-dark: #000000;
JSON
{
  "hex": "#317b95",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 149
  },
  "hsl": {
    "h": 195.6,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.54796,
    "c": 0.08253,
    "h": 224.7
  },
  "luminance": 0.16989
}

Semantic roles & 50–950 ramp

primary
#317B95
secondary
#B87E6A
accent
#724EDA
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090F11
muted
#7B7E80

Preview Lab

Preview with #317B95

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

Preview Lab → · Contrast checker → · Palette generator →

#317B95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva