#316BAF#316BAF

#316BAF is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.3% C 0.124 H 254.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#316BAF
RGBrgb(49, 107, 175)
HSLhsl(212, 56%, 44%)
HSVhsv(212, 72%, 69%)
CMYKcmyk(72%, 38.9%, 0%, 31.4%)
CIE-LABlab(44.61, 4.44, -41.73)
CIE-LCHlch(44.61, 41.96, 276.08°)
OKLaboklab(52.33% -0.0337 -0.1189)
OKLCHoklch(52.33% 0.124 254.2)
XYZxyz(14.2593, 14.2620, 42.5505)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316BAF #AF7531
analogous
#31AAAF #316BAF #3631AF
triadic
#316BAF #AF316B #6BAF31
tetradic
#316BAF #AF31AA #AF7531 #31AF36
square
#316BAF #AF31AA #AF7531 #31AF36
split-complementary
#316BAF #AF3631 #AAAF31
monochromatic
#16314F #244E7F #316BAF #4F8ACE #7FAADB

Accessibility & contrast

On white

5.45
#316BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#316BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316BAF
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316BAF#FFFFFF#000000##FFFFFF
##316BAF1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C70B2
Deuteranopia (green-blind)
#3864AE
Tritanopia (blue-blind)
#007B84
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #316baf;
/* rgb */ color: rgb(49, 107, 175);
/* oklch */ color: oklch(52.3% 0.124 254.2);
Tailwind
colors: {
  custom: {
    50: '#7994c7',
    500: '#316baf',
    950: '#000000',
  },
}
SCSS
$custom: #316baf;
$custom-light: #7994c7;
$custom-dark: #000000;
JSON
{
  "hex": "#316baf",
  "rgb": {
    "r": 49,
    "g": 107,
    "b": 175
  },
  "hsl": {
    "h": 212.381,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52327,
    "c": 0.12356,
    "h": 254.2
  },
  "luminance": 0.14264
}

Semantic roles & 50–950 ramp

primary
#316BAF
secondary
#C4A178
accent
#9A48E0
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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