#6161D5#6161D5

#6161D5 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 55.5% C 0.174 H 279.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6161D5
RGBrgb(97, 97, 213)
HSLhsl(240, 58%, 61%)
HSVhsv(240, 54%, 84%)
CMYKcmyk(54.5%, 54.5%, 0%, 16.5%)
CIE-LABlab(46.83, 32.44, -59.97)
CIE-LCHlch(46.83, 68.18, 298.41°)
OKLaboklab(55.46% 0.0275 -0.1716)
OKLCHoklch(55.46% 0.174 279.1)
XYZxyz(21.2109, 15.8935, 64.8879)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6161D5 #D5D561
analogous
#619BD5 #6161D5 #9B61D5
triadic
#6161D5 #D56161 #61D561
tetradic
#6161D5 #D5619B #D5D561 #61D59B
square
#6161D5 #D5619B #D5D561 #61D59B
split-complementary
#6161D5 #D59B61 #9BD561
monochromatic
#272794 #3434C5 #6161D5 #9191E2 #C2C2EF

Accessibility & contrast

On white

5.03
#6161D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6161D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6161D5
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6161D5#FFFFFF#000000##FFFFFF
##6161D51.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1574D9
Deuteranopia (green-blind)
#006AD3
Tritanopia (blue-blind)
#297C92
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6161d5;
/* rgb */ color: rgb(97, 97, 213);
/* oklch */ color: oklch(55.5% 0.174 279.1);
Tailwind
colors: {
  custom: {
    50: '#978ee3',
    500: '#6161d5',
    950: '#000000',
  },
}
SCSS
$custom: #6161d5;
$custom-light: #978ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#6161d5",
  "rgb": {
    "r": 97,
    "g": 97,
    "b": 213
  },
  "hsl": {
    "h": 240,
    "s": 58,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55464,
    "c": 0.17383,
    "h": 279.1
  },
  "luminance": 0.15895
}

Semantic roles & 50–950 ramp

primary
#6161D5
secondary
#DFDFB3
accent
#C620C6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0C15
muted
#7E7D84

Preview Lab

Preview with #6161D5

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

Preview Lab → · Contrast checker → · Palette generator →

#6161D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva