#3161C0#3161C0

#3161C0 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.2% C 0.158 H 262.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#3161C0
RGBrgb(49, 97, 192)
HSLhsl(220, 59%, 47%)
HSVhsv(220, 74%, 75%)
CMYKcmyk(74.5%, 49.5%, 0%, 24.7%)
CIE-LABlab(42.77, 17.18, -54.57)
CIE-LCHlch(42.77, 57.21, 287.48°)
OKLaboklab(51.25% -0.0215 -0.1568)
OKLCHoklch(51.25% 0.158 262.2)
XYZxyz(15.0523, 13.0065, 51.5762)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3161C0 #C09031
analogous
#31A9C0 #3161C0 #4831C0
triadic
#3161C0 #C03161 #61C031
tetradic
#3161C0 #C031A9 #C09031 #31C048
square
#3161C0 #C031A9 #C09031 #31C048
split-complementary
#3161C0 #C04831 #A9C031
monochromatic
#18305E #25488F #3161C0 #5983D5 #8AA7E1

Accessibility & contrast

On white

5.83
#3161C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#3161C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3161C0
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3161C0#FFFFFF#000000##FFFFFF
##3161C01.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296CC3
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#007887
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3161c0;
/* rgb */ color: rgb(49, 97, 192);
/* oklch */ color: oklch(51.2% 0.158 262.2);
Tailwind
colors: {
  custom: {
    50: '#7d8dd4',
    500: '#3161c0',
    950: '#000000',
  },
}
SCSS
$custom: #3161c0;
$custom-light: #7d8dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3161c0",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 192
  },
  "hsl": {
    "h": 219.86,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51246,
    "c": 0.15828,
    "h": 262.2
  },
  "luminance": 0.13008
}

Semantic roles & 50–950 ramp

primary
#3161C0
secondary
#CBB282
accent
#AE45E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3161C0

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

Preview Lab → · Contrast checker → · Palette generator →

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