#3161A4#3161A4

#3161A4 is a mid, moderate cyan. Relative luminance 0.119; OKLCH L 49.3% C 0.120 H 257.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#3161A4
RGBrgb(49, 97, 164)
HSLhsl(215, 54%, 42%)
HSVhsv(215, 70%, 64%)
CMYKcmyk(70.1%, 40.9%, 0%, 35.7%)
CIE-LABlab(41.03, 6.69, -40.94)
CIE-LCHlch(41.03, 41.49, 279.27°)
OKLaboklab(49.34% -0.0265 -0.1167)
OKLCHoklch(49.34% 0.12 257.2)
XYZxyz(12.2397, 11.8814, 36.7631)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3161A4 #A47431
analogous
#319BA4 #3161A4 #3B31A4
triadic
#3161A4 #A43161 #61A431
tetradic
#3161A4 #A4319B #A47431 #31A43B
square
#3161A4 #A4319B #A47431 #31A43B
split-complementary
#3161A4 #A43B31 #9BA431
monochromatic
#152946 #234575 #3161A4 #497FC9 #79A0D7

Accessibility & contrast

On white

6.22
#3161A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#3161A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3161A4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3161A4#FFFFFF#000000##FFFFFF
##3161A41.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4267A7
Deuteranopia (green-blind)
#305CA3
Tritanopia (blue-blind)
#00717A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3161a4;
/* rgb */ color: rgb(49, 97, 164);
/* oklch */ color: oklch(49.3% 0.120 257.2);
Tailwind
colors: {
  custom: {
    50: '#778dbf',
    500: '#3161a4',
    950: '#000000',
  },
}
SCSS
$custom: #3161a4;
$custom-light: #778dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3161a4",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 164
  },
  "hsl": {
    "h": 214.957,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49338,
    "c": 0.11972,
    "h": 257.2
  },
  "luminance": 0.11883
}

Semantic roles & 50–950 ramp

primary
#3161A4
secondary
#BF9F72
accent
#A04ADD
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3161A4

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

Preview Lab → · Contrast checker → · Palette generator →

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