#316FB4#316FB4

#316FB4 is a mid, vivid cyan. Relative luminance 0.153; OKLCH L 53.6% C 0.126 H 253.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#316FB4
RGBrgb(49, 111, 180)
HSLhsl(212, 57%, 45%)
HSVhsv(212, 73%, 71%)
CMYKcmyk(72.8%, 38.3%, 0%, 29.4%)
CIE-LABlab(46.06, 3.80, -42.33)
CIE-LCHlch(46.06, 42.50, 275.13°)
OKLaboklab(53.55% -0.0362 -0.1206)
OKLCHoklch(53.55% 0.126 253.3)
XYZxyz(15.1862, 15.3155, 45.3270)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FB4 #B47631
analogous
#31B1B4 #316FB4 #3531B4
triadic
#316FB4 #B4316F #6FB431
tetradic
#316FB4 #B431B1 #B47631 #31B435
square
#316FB4 #B431B1 #B47631 #31B435
split-complementary
#316FB4 #B43531 #B1B431
monochromatic
#173454 #245184 #316FB4 #528ED0 #82ADDD

Accessibility & contrast

On white

5.17
#316FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#316FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FB4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FB4#FFFFFF#000000##FFFFFF
##316FB41.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F74B7
Deuteranopia (green-blind)
#3B68B3
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #316fb4;
/* rgb */ color: rgb(49, 111, 180);
/* oklch */ color: oklch(53.6% 0.126 253.3);
Tailwind
colors: {
  custom: {
    50: '#7a97cb',
    500: '#316fb4',
    950: '#000000',
  },
}
SCSS
$custom: #316fb4;
$custom-light: #7a97cb;
$custom-dark: #000000;
JSON
{
  "hex": "#316fb4",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 180
  },
  "hsl": {
    "h": 211.603,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53554,
    "c": 0.12592,
    "h": 253.3
  },
  "luminance": 0.15317
}

Semantic roles & 50–950 ramp

primary
#316FB4
secondary
#C6A27B
accent
#9847E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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