#316AAB#316AAB

#316AAB is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.9% C 0.119 H 253.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#316AAB
RGBrgb(49, 106, 171)
HSLhsl(212, 55%, 43%)
HSVhsv(212, 71%, 67%)
CMYKcmyk(71.3%, 38%, 0%, 32.9%)
CIE-LABlab(44.09, 3.59, -40.21)
CIE-LCHlch(44.09, 40.37, 275.10°)
OKLaboklab(51.85% -0.0337 -0.1144)
OKLCHoklch(51.85% 0.119 253.6)
XYZxyz(13.7686, 13.8998, 40.4775)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316AAB #AB7231
analogous
#31A7AB #316AAB #3531AB
triadic
#316AAB #AB316A #6AAB31
tetradic
#316AAB #AB31A7 #AB7231 #31AB35
square
#316AAB #AB31A7 #AB7231 #31AB35
split-complementary
#316AAB #AB3531 #A7AB31
monochromatic
#162F4C #234D7B #316AAB #4D88CC #7DA8DA

Accessibility & contrast

On white

5.56
#316AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#316AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316AAB
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316AAB#FFFFFF#000000##FFFFFF
##316AAB1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAE
Deuteranopia (green-blind)
#3A63AA
Tritanopia (blue-blind)
#007982
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #316aab;
/* rgb */ color: rgb(49, 106, 171);
/* oklch */ color: oklch(51.9% 0.119 253.6);
Tailwind
colors: {
  custom: {
    50: '#7894c4',
    500: '#316aab',
    950: '#000000',
  },
}
SCSS
$custom: #316aab;
$custom-light: #7894c4;
$custom-dark: #000000;
JSON
{
  "hex": "#316aab",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 171
  },
  "hsl": {
    "h": 211.967,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51851,
    "c": 0.11931,
    "h": 253.6
  },
  "luminance": 0.13901
}

Semantic roles & 50–950 ramp

primary
#316AAB
secondary
#C29E75
accent
#9949DF
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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