#316EAC#316EAC

#316EAC is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.8% C 0.116 H 251.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#316EAC
RGBrgb(49, 110, 172)
HSLhsl(210, 56%, 43%)
HSVhsv(210, 72%, 67%)
CMYKcmyk(71.5%, 36%, 0%, 32.5%)
CIE-LABlab(45.33, 1.48, -38.82)
CIE-LCHlch(45.33, 38.85, 272.18°)
OKLaboklab(52.84% -0.0374 -0.1103)
OKLCHoklch(52.84% 0.116 251.3)
XYZxyz(14.2862, 14.7818, 41.1220)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316EAC #AC6F31
analogous
#31ABAC #316EAC #3131AC
triadic
#316EAC #AC316E #6EAC31
tetradic
#316EAC #AC31AB #AC6F31 #31AC31
square
#316EAC #AC31AB #AC6F31 #31AC31
split-complementary
#316EAC #AC3131 #ABAC31
monochromatic
#16314D #23507C #316EAC #4E8DCC #7DABDA

Accessibility & contrast

On white

5.31
#316EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#316EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316EAC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316EAC#FFFFFF#000000##FFFFFF
##316EAC1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5272AF
Deuteranopia (green-blind)
#4066AB
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316eac;
/* rgb */ color: rgb(49, 110, 172);
/* oklch */ color: oklch(52.8% 0.116 251.3);
Tailwind
colors: {
  custom: {
    50: '#7897c5',
    500: '#316eac',
    950: '#000000',
  },
}
SCSS
$custom: #316eac;
$custom-light: #7897c5;
$custom-dark: #000000;
JSON
{
  "hex": "#316eac",
  "rgb": {
    "r": 49,
    "g": 110,
    "b": 172
  },
  "hsl": {
    "h": 210.244,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52843,
    "c": 0.11648,
    "h": 251.3
  },
  "luminance": 0.14783
}

Semantic roles & 50–950 ramp

primary
#316EAC
secondary
#C39D76
accent
#9549DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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