#3161C3#3161C3

#3161C3 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.5% C 0.162 H 262.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#3161C3
RGBrgb(49, 97, 195)
HSLhsl(220, 60%, 48%)
HSVhsv(220, 75%, 76%)
CMYKcmyk(74.9%, 50.3%, 0%, 23.5%)
CIE-LABlab(42.97, 18.31, -55.99)
CIE-LCHlch(42.97, 58.90, 288.11°)
OKLaboklab(51.46% -0.0211 -0.161)
OKLCHoklch(51.46% 0.162 262.5)
XYZxyz(15.3881, 13.1408, 53.3446)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3161C3 #C39331
analogous
#31AAC3 #3161C3 #4A31C3
triadic
#3161C3 #C33161 #61C331
tetradic
#3161C3 #C331AA #C39331 #31C34A
square
#3161C3 #C331AA #C39331 #31C34A
split-complementary
#3161C3 #C34A31 #AAC331
monochromatic
#183061 #254992 #3161C3 #5B84D6 #8CA8E2

Accessibility & contrast

On white

5.79
#3161C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#3161C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3161C3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3161C3#FFFFFF#000000##FFFFFF
##3161C31.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256DC7
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#007889
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #3161c3;
/* rgb */ color: rgb(49, 97, 195);
/* oklch */ color: oklch(51.5% 0.162 262.5);
Tailwind
colors: {
  custom: {
    50: '#7d8dd6',
    500: '#3161c3',
    950: '#000000',
  },
}
SCSS
$custom: #3161c3;
$custom-light: #7d8dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3161c3",
  "rgb": {
    "r": 49,
    "g": 97,
    "b": 195
  },
  "hsl": {
    "h": 220.274,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51464,
    "c": 0.16236,
    "h": 262.5
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#3161C3
secondary
#CCB483
accent
#AF45E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #3161C3

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

Preview Lab → · Contrast checker → · Palette generator →

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