#316AA4#316AA4

#316AA4 is a mid, moderate cyan. Relative luminance 0.136; OKLCH L 51.4% C 0.110 H 251.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#316AA4
RGBrgb(49, 106, 164)
HSLhsl(210, 54%, 42%)
HSVhsv(210, 70%, 64%)
CMYKcmyk(70.1%, 35.4%, 0%, 35.7%)
CIE-LABlab(43.71, 1.02, -36.68)
CIE-LCHlch(43.71, 36.70, 271.59°)
OKLaboklab(51.43% -0.0355 -0.1041)
OKLCHoklch(51.43% 0.11 251.2)
XYZxyz(13.1190, 13.6400, 37.0561)
Luminance0.1364 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316AA4 #A46B31
analogous
#31A4A4 #316AA4 #3231A4
triadic
#316AA4 #A4316A #6AA431
tetradic
#316AA4 #A431A4 #A46B31 #31A432
square
#316AA4 #A431A4 #A46B31 #31A432
split-complementary
#316AA4 #A43231 #A4A431
monochromatic
#152D46 #234C75 #316AA4 #4989C9 #79A7D7

Accessibility & contrast

On white

5.63
#316AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#316AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316AA4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316AA4#FFFFFF#000000##FFFFFF
##316AA41.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506DA6
Deuteranopia (green-blind)
#4062A3
Tritanopia (blue-blind)
#00787F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #316aa4;
/* rgb */ color: rgb(49, 106, 164);
/* oklch */ color: oklch(51.4% 0.110 251.2);
Tailwind
colors: {
  custom: {
    50: '#7794bf',
    500: '#316aa4',
    950: '#000000',
  },
}
SCSS
$custom: #316aa4;
$custom-light: #7794bf;
$custom-dark: #000000;
JSON
{
  "hex": "#316aa4",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 164
  },
  "hsl": {
    "h": 210.261,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51434,
    "c": 0.11004,
    "h": 251.2
  },
  "luminance": 0.13641
}

Semantic roles & 50–950 ramp

primary
#316AA4
secondary
#BF9972
accent
#954ADD
background
#F7F9FB
surface
#EEF1F7
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #316AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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