#316CAB#316CAB

#316CAB is a mid, moderate cyan. Relative luminance 0.143; OKLCH L 52.3% C 0.117 H 252.3°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#316CAB
RGBrgb(49, 108, 171)
HSLhsl(211, 55%, 43%)
HSVhsv(211, 71%, 67%)
CMYKcmyk(71.3%, 36.8%, 0%, 32.9%)
CIE-LABlab(44.68, 2.35, -39.26)
CIE-LCHlch(44.68, 39.33, 273.42°)
OKLaboklab(52.32% -0.0356 -0.1116)
OKLCHoklch(52.32% 0.117 252.3)
XYZxyz(13.9771, 14.3169, 40.5470)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CAB #AB7031
analogous
#31A9AB #316CAB #3331AB
triadic
#316CAB #AB316C #6CAB31
tetradic
#316CAB #AB31A9 #AB7031 #31AB33
square
#316CAB #AB31A9 #AB7031 #31AB33
split-complementary
#316CAB #AB3331 #A9AB31
monochromatic
#16304C #234E7B #316CAB #4D8BCC #7DAADA

Accessibility & contrast

On white

5.44
#316CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#316CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CAB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CAB#FFFFFF#000000##FFFFFF
##316CAB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AE
Deuteranopia (green-blind)
#3E64AA
Tritanopia (blue-blind)
#007B83
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #316cab;
/* rgb */ color: rgb(49, 108, 171);
/* oklch */ color: oklch(52.3% 0.117 252.3);
Tailwind
colors: {
  custom: {
    50: '#7895c4',
    500: '#316cab',
    950: '#000000',
  },
}
SCSS
$custom: #316cab;
$custom-light: #7895c4;
$custom-dark: #000000;
JSON
{
  "hex": "#316cab",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 171
  },
  "hsl": {
    "h": 210.984,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52316,
    "c": 0.1172,
    "h": 252.3
  },
  "luminance": 0.14318
}

Semantic roles & 50–950 ramp

primary
#316CAB
secondary
#C29D75
accent
#9649DF
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316CAB

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

Preview Lab → · Contrast checker → · Palette generator →

#316CAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva