#3161A2#3161A2

#3161A2 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 49.2% C 0.117 H 256.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#3161A2
RGBrgb(49, 97, 162)
HSLhsl(215, 54%, 41%)
HSVhsv(215, 70%, 64%)
CMYKcmyk(69.8%, 40.1%, 0%, 36.5%)
CIE-LABlab(40.91, 5.94, -39.94)
CIE-LCHlch(40.91, 40.38, 278.46°)
OKLaboklab(49.21% -0.027 -0.1138)
OKLCHoklch(49.21% 0.117 256.7)
XYZxyz(12.0605, 11.8097, 35.8193)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3161A2 #A27231
analogous
#319AA2 #3161A2 #3931A2
triadic
#3161A2 #A23161 #61A231
tetradic
#3161A2 #A2319A #A27231 #31A239
square
#3161A2 #A2319A #A27231 #31A239
split-complementary
#3161A2 #A23931 #9AA231
monochromatic
#152944 #234573 #3161A2 #487FC8 #77A0D6

Accessibility & contrast

On white

6.25
#3161A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#3161A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3161A2
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3161A2#FFFFFF#000000##FFFFFF
##3161A21.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#325CA1
Tritanopia (blue-blind)
#007079
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3161a2;
/* rgb */ color: rgb(49, 97, 162);
/* oklch */ color: oklch(49.2% 0.117 256.7);
Tailwind
colors: {
  custom: {
    50: '#768dbe',
    500: '#3161a2',
    950: '#000000',
  },
}
SCSS
$custom: #3161a2;
$custom-light: #768dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3161a2",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 162
  },
  "hsl": {
    "h": 214.513,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49212,
    "c": 0.11696,
    "h": 256.7
  },
  "luminance": 0.11811
}

Semantic roles & 50–950 ramp

primary
#3161A2
secondary
#BE9D71
accent
#9F4BDD
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3161A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3161A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva