#3161A1#3161A1

#3161A1 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 49.1% C 0.116 H 256.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#3161A1
RGBrgb(49, 97, 161)
HSLhsl(214, 53%, 41%)
HSVhsv(214, 70%, 63%)
CMYKcmyk(69.6%, 39.8%, 0%, 36.9%)
CIE-LABlab(40.86, 5.57, -39.44)
CIE-LCHlch(40.86, 39.83, 278.04°)
OKLaboklab(49.15% -0.0272 -0.1123)
OKLCHoklch(49.15% 0.116 256.4)
XYZxyz(11.9720, 11.7743, 35.3530)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3161A1 #A17131
analogous
#3199A1 #3161A1 #3931A1
triadic
#3161A1 #A13161 #61A131
tetradic
#3161A1 #A13199 #A17131 #31A139
square
#3161A1 #A13199 #A17131 #31A139
split-complementary
#3161A1 #A13931 #99A131
monochromatic
#142843 #234572 #3161A1 #487FC7 #779FD6

Accessibility & contrast

On white

6.26
#3161A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3161A1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3161A1#FFFFFF#000000##FFFFFF
##3161A11.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4466A4
Deuteranopia (green-blind)
#335CA0
Tritanopia (blue-blind)
#007079
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #3161a1;
/* rgb */ color: rgb(49, 97, 161);
/* oklch */ color: oklch(49.1% 0.116 256.4);
Tailwind
colors: {
  custom: {
    50: '#768dbd',
    500: '#3161a1',
    950: '#000000',
  },
}
SCSS
$custom: #3161a1;
$custom-light: #768dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3161a1",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 161
  },
  "hsl": {
    "h": 214.286,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49149,
    "c": 0.11558,
    "h": 256.4
  },
  "luminance": 0.11776
}

Semantic roles & 50–950 ramp

primary
#3161A1
secondary
#BE9C70
accent
#9E4BDD
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #3161A1

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

Preview Lab → · Contrast checker → · Palette generator →

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