#316CA4#316CA4

#316CA4 is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 51.9% C 0.108 H 249.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#316CA4
RGBrgb(49, 108, 164)
HSLhsl(209, 54%, 42%)
HSVhsv(209, 70%, 64%)
CMYKcmyk(70.1%, 34.1%, 0%, 35.7%)
CIE-LABlab(44.31, -0.22, -35.73)
CIE-LCHlch(44.31, 35.73, 269.65°)
OKLaboklab(51.91% -0.0376 -0.1013)
OKLCHoklch(51.91% 0.108 249.7)
XYZxyz(13.3275, 14.0570, 37.1257)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316CA4 #A46931
analogous
#31A4A3 #316CA4 #3133A4
triadic
#316CA4 #A4316C #6CA431
tetradic
#316CA4 #A331A4 #A46931 #33A431
square
#316CA4 #A331A4 #A46931 #33A431
split-complementary
#316CA4 #A43133 #A4A331
monochromatic
#152E46 #234D75 #316CA4 #498BC9 #79A9D7

Accessibility & contrast

On white

5.51
#316CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#316CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316CA4
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316CA4#FFFFFF#000000##FFFFFF
##316CA41.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536FA6
Deuteranopia (green-blind)
#4364A3
Tritanopia (blue-blind)
#007980
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #316ca4;
/* rgb */ color: rgb(49, 108, 164);
/* oklch */ color: oklch(51.9% 0.108 249.7);
Tailwind
colors: {
  custom: {
    50: '#7795bf',
    500: '#316ca4',
    950: '#000000',
  },
}
SCSS
$custom: #316ca4;
$custom-light: #7795bf;
$custom-dark: #000000;
JSON
{
  "hex": "#316ca4",
  "rgb": {
    "r": 49,
    "g": 108,
    "b": 164
  },
  "hsl": {
    "h": 209.217,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51906,
    "c": 0.10808,
    "h": 249.7
  },
  "luminance": 0.14058
}

Semantic roles & 50–950 ramp

primary
#316CA4
secondary
#BF9772
accent
#924ADD
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #316CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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