#316FAF#316FAF

#316FAF is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 53.3% C 0.119 H 251.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#316FAF
RGBrgb(49, 111, 175)
HSLhsl(210, 56%, 44%)
HSVhsv(210, 72%, 69%)
CMYKcmyk(72%, 36.6%, 0%, 31.4%)
CIE-LABlab(45.79, 1.96, -39.85)
CIE-LCHlch(45.79, 39.89, 272.81°)
OKLaboklab(53.25% -0.0375 -0.1133)
OKLCHoklch(53.25% 0.119 251.7)
XYZxyz(14.6860, 15.1154, 42.6927)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FAF #AF7131
analogous
#31AEAF #316FAF #3231AF
triadic
#316FAF #AF316F #6FAF31
tetradic
#316FAF #AF31AE #AF7131 #31AF32
square
#316FAF #AF31AE #AF7131 #31AF32
split-complementary
#316FAF #AF3231 #AEAF31
monochromatic
#16324F #24517F #316FAF #4F8ECE #7FACDB

Accessibility & contrast

On white

5.22
#316FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#316FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FAF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FAF#FFFFFF#000000##FFFFFF
##316FAF1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5273B2
Deuteranopia (green-blind)
#3F67AE
Tritanopia (blue-blind)
#007E86
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316faf;
/* rgb */ color: rgb(49, 111, 175);
/* oklch */ color: oklch(53.3% 0.119 251.7);
Tailwind
colors: {
  custom: {
    50: '#7997c7',
    500: '#316faf',
    950: '#000000',
  },
}
SCSS
$custom: #316faf;
$custom-light: #7997c7;
$custom-dark: #000000;
JSON
{
  "hex": "#316faf",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 175
  },
  "hsl": {
    "h": 210.476,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53254,
    "c": 0.11938,
    "h": 251.7
  },
  "luminance": 0.15117
}

Semantic roles & 50–950 ramp

primary
#316FAF
secondary
#C49F78
accent
#9548E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #316FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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