#316F96#316F96

#316F96 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.9% C 0.089 H 239.3°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#316F96
RGBrgb(49, 111, 150)
HSLhsl(203, 51%, 39%)
HSVhsv(203, 67%, 59%)
CMYKcmyk(67.3%, 26%, 0%, 41.2%)
CIE-LABlab(44.55, -7.04, -27.09)
CIE-LCHlch(44.55, 27.98, 255.44°)
OKLaboklab(51.87% -0.0452 -0.0762)
OKLCHoklch(51.87% 0.089 239.3)
XYZxyz(12.4540, 14.2226, 30.9371)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316F96 #965831
analogous
#31968B #316F96 #313D96
triadic
#316F96 #96316F #6F9631
tetradic
#316F96 #8B3196 #965831 #3D9631
square
#316F96 #8B3196 #965831 #3D9631
split-complementary
#316F96 #96313D #968B31
monochromatic
#132B3A #224D68 #316F96 #4391C1 #71ACD1

Accessibility & contrast

On white

5.46
#316F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#316F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316F96
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316F96#FFFFFF#000000##FFFFFF
##316F961.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6F98
Deuteranopia (green-blind)
#4F6595
Tritanopia (blue-blind)
#00797C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #316f96;
/* rgb */ color: rgb(49, 111, 150);
/* oklch */ color: oklch(51.9% 0.089 239.3);
Tailwind
colors: {
  custom: {
    50: '#7598b5',
    500: '#316f96',
    950: '#000000',
  },
}
SCSS
$custom: #316f96;
$custom-light: #7598b5;
$custom-dark: #000000;
JSON
{
  "hex": "#316f96",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 150
  },
  "hsl": {
    "h": 203.168,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51868,
    "c": 0.08859,
    "h": 239.3
  },
  "luminance": 0.14224
}

Semantic roles & 50–950 ramp

primary
#316F96
secondary
#B8896A
accent
#844EDA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #316F96

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

Preview Lab → · Contrast checker → · Palette generator →

#316F96 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva