#3161D0#3161D0

#3161D0 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.4% C 0.180 H 263.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#3161D0
RGBrgb(49, 97, 208)
HSLhsl(222, 63%, 50%)
HSVhsv(222, 76%, 82%)
CMYKcmyk(76.4%, 53.4%, 0%, 18.4%)
CIE-LABlab(43.88, 23.19, -62.02)
CIE-LCHlch(43.88, 66.21, 290.50°)
OKLaboklab(52.44% -0.0197 -0.1787)
OKLCHoklch(52.44% 0.18 263.7)
XYZxyz(16.9224, 13.7545, 61.4253)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3161D0 #D0A031
analogous
#31B0D0 #3161D0 #5031D0
triadic
#3161D0 #D03161 #61D031
tetradic
#3161D0 #D031B0 #D0A031 #31D050
square
#3161D0 #D031B0 #D0A031 #31D050
split-complementary
#3161D0 #D05031 #B0D031
monochromatic
#19336E #244A9F #3161D0 #6387DB #95ADE7

Accessibility & contrast

On white

5.60
#3161D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#3161D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3161D0
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3161D0#FFFFFF#000000##FFFFFF
##3161D01.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#046FD4
Deuteranopia (green-blind)
#0061CE
Tritanopia (blue-blind)
#007C8F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #3161d0;
/* rgb */ color: rgb(49, 97, 208);
/* oklch */ color: oklch(52.4% 0.180 263.7);
Tailwind
colors: {
  custom: {
    50: '#808ddf',
    500: '#3161d0',
    950: '#000000',
  },
}
SCSS
$custom: #3161d0;
$custom-light: #808ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#3161d0",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 208
  },
  "hsl": {
    "h": 221.887,
    "s": 62.846,
    "l": 50.392
  },
  "oklch": {
    "l": 0.52439,
    "c": 0.1798,
    "h": 263.7
  },
  "luminance": 0.13756
}

Semantic roles & 50–950 ramp

primary
#3161D0
secondary
#D2BC8B
accent
#B442E6
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #3161D0

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

Preview Lab → · Contrast checker → · Palette generator →

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