#316989#316989

#316989 is a mid, moderate cyan. Relative luminance 0.126; OKLCH L 49.7% C 0.078 H 236.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#316989
RGBrgb(49, 105, 137)
HSLhsl(202, 47%, 36%)
HSVhsv(202, 64%, 54%)
CMYKcmyk(64.2%, 23.4%, 0%, 46.3%)
CIE-LABlab(42.09, -7.99, -23.14)
CIE-LCHlch(42.09, 24.48, 250.94°)
OKLaboklab(49.73% -0.0432 -0.0649)
OKLCHoklch(49.73% 0.078 236.3)
XYZxyz(10.8318, 12.5612, 25.5158)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316989 #895131
analogous
#31897D #316989 #313D89
triadic
#316989 #893169 #698931
tetradic
#316989 #7D3189 #895131 #3D8931
square
#316989 #7D3189 #895131 #3D8931
split-complementary
#316989 #89313D #897D31
monochromatic
#11242F #21465C #316989 #418CB6 #6BA7CA

Accessibility & contrast

On white

5.98
#316989 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#316989 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316989
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316989#FFFFFF#000000##FFFFFF
##3169891.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A688B
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#007174
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #316989;
/* rgb */ color: rgb(49, 105, 137);
/* oklch */ color: oklch(49.7% 0.078 236.3);
Tailwind
colors: {
  custom: {
    50: '#7293ab',
    500: '#316989',
    950: '#000000',
  },
}
SCSS
$custom: #316989;
$custom-light: #7293ab;
$custom-dark: #000000;
JSON
{
  "hex": "#316989",
  "rgb": {
    "r": 49,
    "g": 105,
    "b": 137
  },
  "hsl": {
    "h": 201.818,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49727,
    "c": 0.07792,
    "h": 236.3
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#316989
secondary
#B18064
accent
#8251D7
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #316989

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

Preview Lab → · Contrast checker → · Palette generator →

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