#316899#316899

#316899 is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.3% C 0.098 H 248.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#316899
RGBrgb(49, 104, 153)
HSLhsl(208, 51%, 40%)
HSVhsv(208, 68%, 60%)
CMYKcmyk(68%, 32%, 0%, 40%)
CIE-LABlab(42.54, -1.74, -32.01)
CIE-LCHlch(42.54, 32.06, 266.89°)
OKLaboklab(50.33% -0.0367 -0.0905)
OKLCHoklch(50.33% 0.098 248)
XYZxyz(11.9646, 12.8523, 31.9810)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316899 #996231
analogous
#319996 #316899 #313499
triadic
#316899 #993168 #689931
tetradic
#316899 #963199 #996231 #349931
square
#316899 #963199 #996231 #349931
split-complementary
#316899 #993134 #999631
monochromatic
#13293C #22486B #316899 #4487C3 #72A5D2

Accessibility & contrast

On white

5.88
#316899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#316899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316899
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316899#FFFFFF#000000##FFFFFF
##3168991.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526A9B
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#007479
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #316899;
/* rgb */ color: rgb(49, 104, 153);
/* oklch */ color: oklch(50.3% 0.098 248.0);
Tailwind
colors: {
  custom: {
    50: '#7592b7',
    500: '#316899',
    950: '#000000',
  },
}
SCSS
$custom: #316899;
$custom-light: #7592b7;
$custom-dark: #000000;
JSON
{
  "hex": "#316899",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 153
  },
  "hsl": {
    "h": 208.269,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50328,
    "c": 0.09769,
    "h": 248
  },
  "luminance": 0.12854
}

Semantic roles & 50–950 ramp

primary
#316899
secondary
#BA916C
accent
#904DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090D11
muted
#7B7D80

Preview Lab

Preview with #316899

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

Preview Lab → · Contrast checker → · Palette generator →

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