#316699#316699

#316699 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.8% C 0.100 H 249.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#316699
RGBrgb(49, 102, 153)
HSLhsl(209, 51%, 40%)
HSVhsv(209, 68%, 60%)
CMYKcmyk(68%, 33.3%, 0%, 40%)
CIE-LABlab(41.93, -0.51, -32.98)
CIE-LCHlch(41.93, 32.98, 269.12°)
OKLaboklab(49.85% -0.0345 -0.0934)
OKLCHoklch(49.85% 0.1 249.7)
XYZxyz(11.7656, 12.4544, 31.9147)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316699 #996431
analogous
#319998 #316699 #313299
triadic
#316699 #993166 #669931
tetradic
#316699 #983199 #996431 #329931
square
#316699 #983199 #996431 #329931
split-complementary
#316699 #993132 #999831
monochromatic
#13283C #22476B #316699 #4485C3 #72A3D2

Accessibility & contrast

On white

6.02
#316699 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#316699 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316699
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316699#FFFFFF#000000##FFFFFF
##3166991.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50689B
Deuteranopia (green-blind)
#415E98
Tritanopia (blue-blind)
#007278
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #316699;
/* rgb */ color: rgb(49, 102, 153);
/* oklch */ color: oklch(49.8% 0.100 249.7);
Tailwind
colors: {
  custom: {
    50: '#7591b7',
    500: '#316699',
    950: '#000000',
  },
}
SCSS
$custom: #316699;
$custom-light: #7591b7;
$custom-dark: #000000;
JSON
{
  "hex": "#316699",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 153
  },
  "hsl": {
    "h": 209.423,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49848,
    "c": 0.09955,
    "h": 249.7
  },
  "luminance": 0.12456
}

Semantic roles & 50–950 ramp

primary
#316699
secondary
#BA926C
accent
#934DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #316699

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

Preview Lab → · Contrast checker → · Palette generator →

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