#3161A6#3161A6

#3161A6 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.5% C 0.122 H 257.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3161A6
RGBrgb(49, 97, 166)
HSLhsl(215, 54%, 42%)
HSVhsv(215, 70%, 65%)
CMYKcmyk(70.5%, 41.6%, 0%, 34.9%)
CIE-LABlab(41.14, 7.43, -41.94)
CIE-LCHlch(41.14, 42.60, 280.05°)
OKLaboklab(49.47% -0.0261 -0.1197)
OKLCHoklch(49.47% 0.122 257.7)
XYZxyz(12.4218, 11.9542, 37.7218)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3161A6 #A67631
analogous
#319CA6 #3161A6 #3C31A6
triadic
#3161A6 #A63161 #61A631
tetradic
#3161A6 #A6319C #A67631 #31A63C
square
#3161A6 #A6319C #A67631 #31A63C
split-complementary
#3161A6 #A63C31 #9CA631
monochromatic
#152A47 #234577 #3161A6 #4A7FCA #7AA0D8

Accessibility & contrast

On white

6.19
#3161A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3161A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3161A6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3161A6#FFFFFF#000000##FFFFFF
##3161A61.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4167A9
Deuteranopia (green-blind)
#2E5CA5
Tritanopia (blue-blind)
#00717B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3161a6;
/* rgb */ color: rgb(49, 97, 166);
/* oklch */ color: oklch(49.5% 0.122 257.7);
Tailwind
colors: {
  custom: {
    50: '#778dc1',
    500: '#3161a6',
    950: '#000000',
  },
}
SCSS
$custom: #3161a6;
$custom-light: #778dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3161a6",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 166
  },
  "hsl": {
    "h": 215.385,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49466,
    "c": 0.12248,
    "h": 257.7
  },
  "luminance": 0.11956
}

Semantic roles & 50–950 ramp

primary
#3161A6
secondary
#C0A073
accent
#A14ADE
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81

Preview Lab

Preview with #3161A6

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

Preview Lab → · Contrast checker → · Palette generator →

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