#316F95#316F95

#316F95 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 51.8% C 0.087 H 238.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#316F95
RGBrgb(49, 111, 149)
HSLhsl(203, 51%, 39%)
HSVhsv(203, 67%, 58%)
CMYKcmyk(67.1%, 25.5%, 0%, 41.6%)
CIE-LABlab(44.50, -7.39, -26.56)
CIE-LCHlch(44.50, 27.57, 254.46°)
OKLaboklab(51.82% -0.0456 -0.0747)
OKLCHoklch(51.82% 0.087 238.6)
XYZxyz(12.3738, 14.1905, 30.5149)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316F95 #955731
analogous
#319589 #316F95 #313D95
triadic
#316F95 #95316F #6F9531
tetradic
#316F95 #893195 #955731 #3D9531
square
#316F95 #893195 #955731 #3D9531
split-complementary
#316F95 #95313D #958931
monochromatic
#132A39 #224D67 #316F95 #4291C1 #70ACD0

Accessibility & contrast

On white

5.47
#316F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #316F95
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316F95#FFFFFF#000000##FFFFFF
##316F951.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6F97
Deuteranopia (green-blind)
#506594
Tritanopia (blue-blind)
#00797C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #316f95;
/* rgb */ color: rgb(49, 111, 149);
/* oklch */ color: oklch(51.8% 0.087 238.6);
Tailwind
colors: {
  custom: {
    50: '#7498b4',
    500: '#316f95',
    950: '#000000',
  },
}
SCSS
$custom: #316f95;
$custom-light: #7498b4;
$custom-dark: #000000;
JSON
{
  "hex": "#316f95",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 149
  },
  "hsl": {
    "h": 202.8,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.51817,
    "c": 0.08748,
    "h": 238.6
  },
  "luminance": 0.14192
}

Semantic roles & 50–950 ramp

primary
#316F95
secondary
#B8886A
accent
#834EDA
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #316F95

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

Preview Lab → · Contrast checker → · Palette generator →

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