#316AA8#316AA8

#316AA8 is a mid, moderate cyan. Relative luminance 0.138; OKLCH L 51.7% C 0.115 H 252.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#316AA8
RGBrgb(49, 106, 168)
HSLhsl(211, 55%, 43%)
HSVhsv(211, 71%, 66%)
CMYKcmyk(70.8%, 36.9%, 0%, 34.1%)
CIE-LABlab(43.93, 2.49, -38.70)
CIE-LCHlch(43.93, 38.78, 273.68°)
OKLaboklab(51.67% -0.0345 -0.11)
OKLCHoklch(51.67% 0.115 252.6)
XYZxyz(13.4859, 13.7867, 38.9886)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316AA8 #A86F31
analogous
#31A5A8 #316AA8 #3431A8
triadic
#316AA8 #A8316A #6AA831
tetradic
#316AA8 #A831A5 #A86F31 #31A834
square
#316AA8 #A831A5 #A86F31 #31A834
split-complementary
#316AA8 #A83431 #A5A831
monochromatic
#152E49 #234C79 #316AA8 #4C88CB #7BA8D8

Accessibility & contrast

On white

5.59
#316AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#316AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316AA8
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316AA8#FFFFFF#000000##FFFFFF
##316AA81.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6EAB
Deuteranopia (green-blind)
#3D63A7
Tritanopia (blue-blind)
#007981
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #316aa8;
/* rgb */ color: rgb(49, 106, 168);
/* oklch */ color: oklch(51.7% 0.115 252.6);
Tailwind
colors: {
  custom: {
    50: '#7794c2',
    500: '#316aa8',
    950: '#000000',
  },
}
SCSS
$custom: #316aa8;
$custom-light: #7794c2;
$custom-dark: #000000;
JSON
{
  "hex": "#316aa8",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 168
  },
  "hsl": {
    "h": 211.261,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5167,
    "c": 0.11532,
    "h": 252.6
  },
  "luminance": 0.13788
}

Semantic roles & 50–950 ramp

primary
#316AA8
secondary
#C19C74
accent
#974ADE
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #316AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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