#316889#316889

#316889 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.5% C 0.078 H 237.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#316889
RGBrgb(49, 104, 137)
HSLhsl(203, 47%, 36%)
HSVhsv(203, 64%, 54%)
CMYKcmyk(64.2%, 24.1%, 0%, 46.3%)
CIE-LABlab(41.78, -7.40, -23.63)
CIE-LCHlch(41.78, 24.76, 252.62°)
OKLaboklab(49.48% -0.042 -0.0663)
OKLCHoklch(49.48% 0.078 237.6)
XYZxyz(10.7306, 12.3587, 25.4820)
Luminance0.1236 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316889 #895231
analogous
#31897E #316889 #313C89
triadic
#316889 #893168 #688931
tetradic
#316889 #7E3189 #895231 #3C8931
square
#316889 #7E3189 #895231 #3C8931
split-complementary
#316889 #89313C #897E31
monochromatic
#11242F #21465C #316889 #418AB6 #6BA6CA

Accessibility & contrast

On white

6.05
#316889 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#316889 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316889
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316889#FFFFFF#000000##FFFFFF
##3168891.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59688B
Deuteranopia (green-blind)
#4D5F88
Tritanopia (blue-blind)
#007073
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #316889;
/* rgb */ color: rgb(49, 104, 137);
/* oklch */ color: oklch(49.5% 0.078 237.6);
Tailwind
colors: {
  custom: {
    50: '#7293ab',
    500: '#316889',
    950: '#000000',
  },
}
SCSS
$custom: #316889;
$custom-light: #7293ab;
$custom-dark: #000000;
JSON
{
  "hex": "#316889",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 137
  },
  "hsl": {
    "h": 202.5,
    "s": 47.312,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49478,
    "c": 0.07849,
    "h": 237.6
  },
  "luminance": 0.1236
}

Semantic roles & 50–950 ramp

primary
#316889
secondary
#B18164
accent
#8351D7
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #316889

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

Preview Lab → · Contrast checker → · Palette generator →

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