#6162ED#6162ED

#6162ED is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.4% C 0.204 H 277.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#6162ED
RGBrgb(97, 98, 237)
HSLhsl(240, 80%, 65%)
HSVhsv(240, 59%, 93%)
CMYKcmyk(59.1%, 58.6%, 0%, 7.1%)
CIE-LABlab(48.75, 39.47, -70.45)
CIE-LCHlch(48.75, 80.75, 299.26°)
OKLaboklab(57.41% 0.0267 -0.2025)
OKLCHoklch(57.41% 0.204 277.5)
XYZxyz(24.5786, 17.3893, 82.1656)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162ED #EDEC61
analogous
#61A8ED #6162ED #A661ED
triadic
#6162ED #ED6162 #62ED61
tetradic
#6162ED #ED61A8 #EDEC61 #61EDA6
square
#6162ED #ED61A8 #EDEC61 #61EDA6
split-complementary
#6162ED #EDA661 #A8ED61
monochromatic
#1617BE #2A2BE7 #6162ED #9899F3 #CFCFFA

Accessibility & contrast

On white

4.69
#6162ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#6162ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162ED
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162ED#FFFFFF#000000##FFFFFF
##6162ED1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#006EEA
Tritanopia (blue-blind)
#00849E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6162ed;
/* rgb */ color: rgb(97, 98, 237);
/* oklch */ color: oklch(57.4% 0.204 277.5);
Tailwind
colors: {
  custom: {
    50: '#9a8ff4',
    500: '#6162ed',
    950: '#000000',
  },
}
SCSS
$custom: #6162ed;
$custom-light: #9a8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#6162ed",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 239.571,
    "s": 79.545,
    "l": 65.49
  },
  "oklch": {
    "l": 0.57413,
    "c": 0.20422,
    "h": 277.5
  },
  "luminance": 0.17391
}

Semantic roles & 50–950 ramp

primary
#6162ED
secondary
#ECECBD
accent
#DA0ADC
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6162ED

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

Preview Lab → · Contrast checker → · Palette generator →

#6162ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva