#316AAA#316AAA

#316AAA is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.8% C 0.118 H 253.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#316AAA
RGBrgb(49, 106, 170)
HSLhsl(212, 55%, 43%)
HSVhsv(212, 71%, 67%)
CMYKcmyk(71.2%, 37.6%, 0%, 33.3%)
CIE-LABlab(44.03, 3.22, -39.71)
CIE-LCHlch(44.03, 39.84, 274.64°)
OKLaboklab(51.79% -0.0339 -0.113)
OKLCHoklch(51.79% 0.118 253.3)
XYZxyz(13.6737, 13.8618, 39.9774)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316AAA #AA7131
analogous
#31A6AA #316AAA #3531AA
triadic
#316AAA #AA316A #6AAA31
tetradic
#316AAA #AA31A6 #AA7131 #31AA35
square
#316AAA #AA31A6 #AA7131 #31AA35
split-complementary
#316AAA #AA3531 #A6AA31
monochromatic
#162F4B #234C7A #316AAA #4D88CC #7CA8D9

Accessibility & contrast

On white

5.57
#316AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#316AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316AAA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316AAA#FFFFFF#000000##FFFFFF
##316AAA1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6EAD
Deuteranopia (green-blind)
#3B63A9
Tritanopia (blue-blind)
#007982
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #316aaa;
/* rgb */ color: rgb(49, 106, 170);
/* oklch */ color: oklch(51.8% 0.118 253.3);
Tailwind
colors: {
  custom: {
    50: '#7894c3',
    500: '#316aaa',
    950: '#000000',
  },
}
SCSS
$custom: #316aaa;
$custom-light: #7894c3;
$custom-dark: #000000;
JSON
{
  "hex": "#316aaa",
  "rgb": {
    "r": 49,
    "g": 106,
    "b": 170
  },
  "hsl": {
    "h": 211.736,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51791,
    "c": 0.11797,
    "h": 253.3
  },
  "luminance": 0.13863
}

Semantic roles & 50–950 ramp

primary
#316AAA
secondary
#C29E75
accent
#9849DF
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D12
muted
#7C7E81

Preview Lab

Preview with #316AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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