#316BAC#316BAC

#316BAC is a mid, moderate cyan. Relative luminance 0.141; OKLCH L 52.1% C 0.120 H 253.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#316BAC
RGBrgb(49, 107, 172)
HSLhsl(212, 56%, 43%)
HSVhsv(212, 72%, 67%)
CMYKcmyk(71.5%, 37.8%, 0%, 32.5%)
CIE-LABlab(44.44, 3.34, -40.23)
CIE-LCHlch(44.44, 40.37, 274.74°)
OKLaboklab(52.14% -0.0344 -0.1145)
OKLCHoklch(52.14% 0.12 253.3)
XYZxyz(13.9680, 14.1454, 41.0159)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BAC #AC7231
analogous
#31A8AC #316BAC #3431AC
triadic
#316BAC #AC316B #6BAC31
tetradic
#316BAC #AC31A8 #AC7231 #31AC34
square
#316BAC #AC31A8 #AC7231 #31AC34
split-complementary
#316BAC #AC3431 #A8AC31
monochromatic
#16304D #234D7C #316BAC #4E89CC #7DA9DA

Accessibility & contrast

On white

5.48
#316BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#316BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BAC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BAC#FFFFFF#000000##FFFFFF
##316BAC1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6FAF
Deuteranopia (green-blind)
#3B64AB
Tritanopia (blue-blind)
#007A83
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #316bac;
/* rgb */ color: rgb(49, 107, 172);
/* oklch */ color: oklch(52.1% 0.120 253.3);
Tailwind
colors: {
  custom: {
    50: '#7894c5',
    500: '#316bac',
    950: '#000000',
  },
}
SCSS
$custom: #316bac;
$custom-light: #7894c5;
$custom-dark: #000000;
JSON
{
  "hex": "#316bac",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 172
  },
  "hsl": {
    "h": 211.707,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52144,
    "c": 0.11958,
    "h": 253.3
  },
  "luminance": 0.14147
}

Semantic roles & 50–950 ramp

primary
#316BAC
secondary
#C39F76
accent
#9849DF
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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