#316795#316795

#316795 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.9% C 0.093 H 246.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#316795
RGBrgb(49, 103, 149)
HSLhsl(208, 51%, 39%)
HSVhsv(208, 67%, 58%)
CMYKcmyk(67.1%, 30.9%, 0%, 41.6%)
CIE-LABlab(42.03, -2.56, -30.42)
CIE-LCHlch(42.03, 30.53, 265.18°)
OKLaboklab(49.86% -0.0368 -0.0859)
OKLCHoklch(49.86% 0.093 246.8)
XYZxyz(11.5397, 12.5222, 30.2368)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316795 #955F31
analogous
#319591 #316795 #313595
triadic
#316795 #953167 #679531
tetradic
#316795 #913195 #955F31 #359531
square
#316795 #913195 #955F31 #359531
split-complementary
#316795 #953135 #959131
monochromatic
#132739 #224767 #316795 #4287C1 #70A4D0

Accessibility & contrast

On white

5.99
#316795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#316795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316795
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316795#FFFFFF#000000##FFFFFF
##3167951.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536997
Deuteranopia (green-blind)
#455F94
Tritanopia (blue-blind)
#007277
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #316795;
/* rgb */ color: rgb(49, 103, 149);
/* oklch */ color: oklch(49.9% 0.093 246.8);
Tailwind
colors: {
  custom: {
    50: '#7492b4',
    500: '#316795',
    950: '#000000',
  },
}
SCSS
$custom: #316795;
$custom-light: #7492b4;
$custom-dark: #000000;
JSON
{
  "hex": "#316795",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 149
  },
  "hsl": {
    "h": 207.6,
    "s": 50.505,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49864,
    "c": 0.09349,
    "h": 246.8
  },
  "luminance": 0.12523
}

Semantic roles & 50–950 ramp

primary
#316795
secondary
#B88E6A
accent
#8E4EDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #316795

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

Preview Lab → · Contrast checker → · Palette generator →

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