#316FAB#316FAB

#316FAB is a mid, moderate cyan. Relative luminance 0.150; OKLCH L 53.0% C 0.114 H 250.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#316FAB
RGBrgb(49, 111, 171)
HSLhsl(210, 55%, 43%)
HSVhsv(210, 71%, 67%)
CMYKcmyk(71.3%, 35.1%, 0%, 32.9%)
CIE-LABlab(45.58, 0.49, -37.84)
CIE-LCHlch(45.58, 37.85, 270.75°)
OKLaboklab(53.02% -0.0386 -0.1075)
OKLCHoklch(53.02% 0.114 250.2)
XYZxyz(14.2990, 14.9606, 40.6543)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316FAB #AB6D31
analogous
#31ABAA #316FAB #3132AB
triadic
#316FAB #AB316F #6FAB31
tetradic
#316FAB #AA31AB #AB6D31 #32AB31
square
#316FAB #AA31AB #AB6D31 #32AB31
split-complementary
#316FAB #AB3132 #ABAA31
monochromatic
#16314C #23507B #316FAB #4D8ECC #7DACDA

Accessibility & contrast

On white

5.26
#316FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#316FAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316FAB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316FAB#FFFFFF#000000##FFFFFF
##316FAB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5472AE
Deuteranopia (green-blind)
#4267AA
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #316fab;
/* rgb */ color: rgb(49, 111, 171);
/* oklch */ color: oklch(53.0% 0.114 250.2);
Tailwind
colors: {
  custom: {
    50: '#7898c4',
    500: '#316fab',
    950: '#000000',
  },
}
SCSS
$custom: #316fab;
$custom-light: #7898c4;
$custom-dark: #000000;
JSON
{
  "hex": "#316fab",
  "rgb": {
    "r": 49,
    "g": 111,
    "b": 171
  },
  "hsl": {
    "h": 209.508,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53018,
    "c": 0.11419,
    "h": 250.2
  },
  "luminance": 0.14962
}

Semantic roles & 50–950 ramp

primary
#316FAB
secondary
#C29B75
accent
#9349DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #316FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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