#316997#316997

#316997 is a mid, moderate cyan. Relative luminance 0.130; OKLCH L 50.5% C 0.094 H 246.0°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#316997
RGBrgb(49, 105, 151)
HSLhsl(207, 51%, 39%)
HSVhsv(207, 68%, 59%)
CMYKcmyk(67.5%, 30.5%, 0%, 40.8%)
CIE-LABlab(42.75, -3.07, -30.50)
CIE-LCHlch(42.75, 30.65, 264.25°)
OKLaboklab(50.46% -0.0384 -0.0861)
OKLCHoklch(50.46% 0.094 246)
XYZxyz(11.9020, 12.9893, 31.1521)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316997 #975F31
analogous
#319792 #316997 #313697
triadic
#316997 #973169 #699731
tetradic
#316997 #923197 #975F31 #369731
square
#316997 #923197 #975F31 #369731
split-complementary
#316997 #973136 #979231
monochromatic
#13293B #224969 #316997 #4389C2 #71A6D1

Accessibility & contrast

On white

5.84
#316997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#316997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316997
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316997#FFFFFF#000000##FFFFFF
##3169971.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556A99
Deuteranopia (green-blind)
#476196
Tritanopia (blue-blind)
#007479
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #316997;
/* rgb */ color: rgb(49, 105, 151);
/* oklch */ color: oklch(50.5% 0.094 246.0);
Tailwind
colors: {
  custom: {
    50: '#7493b6',
    500: '#316997',
    950: '#000000',
  },
}
SCSS
$custom: #316997;
$custom-light: #7493b6;
$custom-dark: #000000;
JSON
{
  "hex": "#316997",
  "rgb": {
    "r": 49,
    "g": 105,
    "b": 151
  },
  "hsl": {
    "h": 207.059,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50458,
    "c": 0.09429,
    "h": 246
  },
  "luminance": 0.1299
}

Semantic roles & 50–950 ramp

primary
#316997
secondary
#B98E6B
accent
#8D4DDA
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #316997

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

Preview Lab → · Contrast checker → · Palette generator →

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