#6161EC#6161EC

#6161EC is a mid, highly saturated blue. Relative luminance 0.171; OKLCH L 57.2% C 0.204 H 277.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6161EC
RGBrgb(97, 97, 236)
HSLhsl(240, 79%, 65%)
HSVhsv(240, 59%, 93%)
CMYKcmyk(58.9%, 58.9%, 0%, 7.5%)
CIE-LABlab(48.44, 39.75, -70.39)
CIE-LCHlch(48.44, 80.83, 299.45°)
OKLaboklab(57.17% 0.0276 -0.2023)
OKLCHoklch(57.17% 0.204 277.8)
XYZxyz(24.3399, 17.1451, 81.3673)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6161EC #ECEC61
analogous
#61A6EC #6161EC #A661EC
triadic
#6161EC #EC6161 #61EC61
tetradic
#6161EC #EC61A6 #ECEC61 #61ECA6
square
#6161EC #EC61A6 #ECEC61 #61ECA6
split-complementary
#6161EC #ECA661 #A6EC61
monochromatic
#1717BC #2A2AE5 #6161EC #9898F3 #CECEF9

Accessibility & contrast

On white

4.74
#6161EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6161EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6161EC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6161EC#FFFFFF#000000##FFFFFF
##6161EC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#006DE9
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6161ec;
/* rgb */ color: rgb(97, 97, 236);
/* oklch */ color: oklch(57.2% 0.204 277.8);
Tailwind
colors: {
  custom: {
    50: '#9a8ef3',
    500: '#6161ec',
    950: '#000000',
  },
}
SCSS
$custom: #6161ec;
$custom-light: #9a8ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#6161ec",
  "rgb": {
    "r": 97,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 240,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57165,
    "c": 0.20416,
    "h": 277.8
  },
  "luminance": 0.17147
}

Semantic roles & 50–950 ramp

primary
#6161EC
secondary
#ECECBD
accent
#DB0BDB
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6161EC

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

Preview Lab → · Contrast checker → · Palette generator →

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