#316CA8#316CA8

#316CA8 is a mid, moderate cyan. Relative luminance 0.142; OKLCH L 52.1% C 0.113 H 251.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#316CA8
RGBrgb(49, 108, 168)
HSLhsl(210, 55%, 43%)
HSVhsv(210, 71%, 66%)
CMYKcmyk(70.8%, 35.7%, 0%, 34.1%)
CIE-LABlab(44.52, 1.24, -37.76)
CIE-LCHlch(44.52, 37.78, 271.89°)
OKLaboklab(52.14% -0.0365 -0.1072)
OKLCHoklch(52.14% 0.113 251.2)
XYZxyz(13.6944, 14.2038, 39.0581)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CA8 #A86D31
analogous
#31A8A8 #316CA8 #3131A8
triadic
#316CA8 #A8316C #6CA831
tetradic
#316CA8 #A831A8 #A86D31 #31A831
square
#316CA8 #A831A8 #A86D31 #31A831
split-complementary
#316CA8 #A83131 #A8A831
monochromatic
#152F49 #234E79 #316CA8 #4C8BCB #7BA9D8

Accessibility & contrast

On white

5.47
#316CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#316CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CA8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CA8#FFFFFF#000000##FFFFFF
##316CA81.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516FAA
Deuteranopia (green-blind)
#4064A7
Tritanopia (blue-blind)
#007A82
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #316ca8;
/* rgb */ color: rgb(49, 108, 168);
/* oklch */ color: oklch(52.1% 0.113 251.2);
Tailwind
colors: {
  custom: {
    50: '#7795c2',
    500: '#316ca8',
    950: '#000000',
  },
}
SCSS
$custom: #316ca8;
$custom-light: #7795c2;
$custom-dark: #000000;
JSON
{
  "hex": "#316ca8",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 168
  },
  "hsl": {
    "h": 210.252,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52139,
    "c": 0.11328,
    "h": 251.2
  },
  "luminance": 0.14205
}

Semantic roles & 50–950 ramp

primary
#316CA8
secondary
#C19B74
accent
#954ADE
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #316CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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