#316994#316994

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

Color values

HEX#316994
RGBrgb(49, 105, 148)
HSLhsl(206, 50%, 39%)
HSVhsv(206, 67%, 58%)
CMYKcmyk(66.9%, 29.1%, 0%, 42%)
CIE-LABlab(42.60, -4.14, -28.94)
CIE-LCHlch(42.60, 29.23, 261.86°)
OKLaboklab(50.3% -0.0393 -0.0816)
OKLCHoklch(50.3% 0.091 244.3)
XYZxyz(11.6615, 12.8930, 29.8853)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316994 #945C31
analogous
#31948D #316994 #313794
triadic
#316994 #943169 #699431
tetradic
#316994 #8D3194 #945C31 #379431
square
#316994 #8D3194 #945C31 #379431
split-complementary
#316994 #943137 #948D31
monochromatic
#132838 #224866 #316994 #4289C0 #70A6D0

Accessibility & contrast

On white

5.87
#316994 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#316994 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316994
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316994#FFFFFF#000000##FFFFFF
##3169941.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566A96
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #316994;
/* rgb */ color: rgb(49, 105, 148);
/* oklch */ color: oklch(50.3% 0.091 244.3);
Tailwind
colors: {
  custom: {
    50: '#7493b3',
    500: '#316994',
    950: '#000000',
  },
}
SCSS
$custom: #316994;
$custom-light: #7493b3;
$custom-dark: #000000;
JSON
{
  "hex": "#316994",
  "rgb": {
    "r": 49,
    "g": 105,
    "b": 148
  },
  "hsl": {
    "h": 206.061,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50296,
    "c": 0.09059,
    "h": 244.3
  },
  "luminance": 0.12894
}

Semantic roles & 50–950 ramp

primary
#316994
secondary
#B78B69
accent
#8B4EDA
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #316994

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

Preview Lab → · Contrast checker → · Palette generator →

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