#3161C9#3161C9

#3161C9 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 51.9% C 0.170 H 263.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#3161C9
RGBrgb(49, 97, 201)
HSLhsl(221, 61%, 49%)
HSVhsv(221, 76%, 79%)
CMYKcmyk(75.6%, 51.7%, 0%, 21.2%)
CIE-LABlab(43.39, 20.56, -58.79)
CIE-LCHlch(43.39, 62.28, 289.28°)
OKLaboklab(51.91% -0.0204 -0.1692)
OKLCHoklch(51.91% 0.17 263.1)
XYZxyz(16.0802, 13.4176, 56.9894)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3161C9 #C99931
analogous
#31ADC9 #3161C9 #4D31C9
triadic
#3161C9 #C93161 #61C931
tetradic
#3161C9 #C931AD #C99931 #31C94D
square
#3161C9 #C931AD #C99931 #31C94D
split-complementary
#3161C9 #C94D31 #ADC931
monochromatic
#193267 #254998 #3161C9 #5F85D8 #90ABE4

Accessibility & contrast

On white

5.70
#3161C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#3161C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3161C9
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3161C9#FFFFFF#000000##FFFFFF
##3161C91.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6ECD
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#007A8C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3161c9;
/* rgb */ color: rgb(49, 97, 201);
/* oklch */ color: oklch(51.9% 0.170 263.1);
Tailwind
colors: {
  custom: {
    50: '#7e8dda',
    500: '#3161c9',
    950: '#000000',
  },
}
SCSS
$custom: #3161c9;
$custom-light: #7e8dda;
$custom-dark: #000000;
JSON
{
  "hex": "#3161c9",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 201
  },
  "hsl": {
    "h": 221.053,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51909,
    "c": 0.17046,
    "h": 263.1
  },
  "luminance": 0.13419
}

Semantic roles & 50–950 ramp

primary
#3161C9
secondary
#CFB887
accent
#B144E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0B0C15
muted
#7C7D83

Preview Lab

Preview with #3161C9

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

Preview Lab → · Contrast checker → · Palette generator →

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