#316FA4#316FA4

#316FA4 is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.6% C 0.105 H 247.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#316FA4
RGBrgb(49, 111, 164)
HSLhsl(208, 54%, 42%)
HSVhsv(208, 70%, 64%)
CMYKcmyk(70.1%, 32.3%, 0%, 35.7%)
CIE-LABlab(45.22, -2.05, -34.30)
CIE-LCHlch(45.22, 34.36, 266.58°)
OKLaboklab(52.62% -0.0406 -0.0971)
OKLCHoklch(52.62% 0.105 247.3)
XYZxyz(13.6494, 14.7007, 37.2329)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FA4 #A46631
analogous
#31A4A0 #316FA4 #3136A4
triadic
#316FA4 #A4316F #6FA431
tetradic
#316FA4 #A031A4 #A46631 #36A431
square
#316FA4 #A031A4 #A46631 #36A431
split-complementary
#316FA4 #A43136 #A4A031
monochromatic
#152F46 #234F75 #316FA4 #498EC9 #79ABD7

Accessibility & contrast

On white

5.33
#316FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#316FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FA4
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FA4#FFFFFF#000000##FFFFFF
##316FA41.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5771A6
Deuteranopia (green-blind)
#4766A3
Tritanopia (blue-blind)
#007C82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #316fa4;
/* rgb */ color: rgb(49, 111, 164);
/* oklch */ color: oklch(52.6% 0.105 247.3);
Tailwind
colors: {
  custom: {
    50: '#7798bf',
    500: '#316fa4',
    950: '#000000',
  },
}
SCSS
$custom: #316fa4;
$custom-light: #7798bf;
$custom-dark: #000000;
JSON
{
  "hex": "#316fa4",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 164
  },
  "hsl": {
    "h": 207.652,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52619,
    "c": 0.10529,
    "h": 247.3
  },
  "luminance": 0.14702
}

Semantic roles & 50–950 ramp

primary
#316FA4
secondary
#BF9572
accent
#8E4ADD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #316FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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