#316DA2#316DA2

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

Color values

HEX#316DA2
RGBrgb(49, 109, 162)
HSLhsl(208, 54%, 41%)
HSVhsv(208, 70%, 64%)
CMYKcmyk(69.8%, 32.7%, 0%, 36.5%)
CIE-LABlab(44.51, -1.55, -34.24)
CIE-LCHlch(44.51, 34.27, 267.40°)
OKLaboklab(52.03% -0.0392 -0.097)
OKLCHoklch(52.03% 0.105 248)
XYZxyz(13.2544, 14.1975, 36.2173)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316DA2 #A26631
analogous
#31A29F #316DA2 #3134A2
triadic
#316DA2 #A2316D #6DA231
tetradic
#316DA2 #9F31A2 #A26631 #34A231
square
#316DA2 #9F31A2 #A26631 #34A231
split-complementary
#316DA2 #A23134 #A29F31
monochromatic
#152E44 #234D73 #316DA2 #488CC8 #77AAD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316DA2#FFFFFF#000000##FFFFFF
##316DA21.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)
#556FA4
Deuteranopia (green-blind)
#4664A1
Tritanopia (blue-blind)
#007A80
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #316da2;
/* rgb */ color: rgb(49, 109, 162);
/* oklch */ color: oklch(52.0% 0.105 248.0);
Tailwind
colors: {
  custom: {
    50: '#7696be',
    500: '#316da2',
    950: '#000000',
  },
}
SCSS
$custom: #316da2;
$custom-light: #7696be;
$custom-dark: #000000;
JSON
{
  "hex": "#316da2",
  "rgb": {
    "r": 49,
    "g": 109,
    "b": 162
  },
  "hsl": {
    "h": 208.142,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5203,
    "c": 0.10459,
    "h": 248
  },
  "luminance": 0.14199
}

Semantic roles & 50–950 ramp

primary
#316DA2
secondary
#BE9571
accent
#8F4BDD
background
#F7F9FB
surface
#EEF1F6
border
#C9CBD0
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #316DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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