#3161C6#3161C6

#3161C6 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.7% C 0.166 H 262.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#3161C6
RGBrgb(49, 97, 198)
HSLhsl(221, 60%, 48%)
HSVhsv(221, 75%, 78%)
CMYKcmyk(75.3%, 51%, 0%, 22.4%)
CIE-LABlab(43.18, 19.44, -57.39)
CIE-LCHlch(43.18, 60.59, 288.71°)
OKLaboklab(51.69% -0.0207 -0.1651)
OKLCHoklch(51.69% 0.166 262.8)
XYZxyz(15.7307, 13.2778, 55.1489)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3161C6 #C69631
analogous
#31ABC6 #3161C6 #4B31C6
triadic
#3161C6 #C63161 #61C631
tetradic
#3161C6 #C631AB #C69631 #31C64B
square
#3161C6 #C631AB #C69631 #31C64B
split-complementary
#3161C6 #C64B31 #ABC631
monochromatic
#193164 #254995 #3161C6 #5D84D7 #8EAAE3

Accessibility & contrast

On white

5.74
#3161C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3161C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3161C6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3161C6#FFFFFF#000000##FFFFFF
##3161C61.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#206DCA
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#00798A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3161c6;
/* rgb */ color: rgb(49, 97, 198);
/* oklch */ color: oklch(51.7% 0.166 262.8);
Tailwind
colors: {
  custom: {
    50: '#7e8dd8',
    500: '#3161c6',
    950: '#000000',
  },
}
SCSS
$custom: #3161c6;
$custom-light: #7e8dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3161c6",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 198
  },
  "hsl": {
    "h": 220.671,
    "s": 60.324,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51685,
    "c": 0.16642,
    "h": 262.8
  },
  "luminance": 0.1328
}

Semantic roles & 50–950 ramp

primary
#3161C6
secondary
#CEB685
accent
#B044E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3161C6

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

Preview Lab → · Contrast checker → · Palette generator →

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