#6162E9#6162E9

#6162E9 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.1% C 0.199 H 277.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6162E9
RGBrgb(97, 98, 233)
HSLhsl(240, 76%, 65%)
HSVhsv(240, 58%, 91%)
CMYKcmyk(58.4%, 57.9%, 0%, 8.6%)
CIE-LABlab(48.46, 38.19, -68.67)
CIE-LCHlch(48.46, 78.58, 299.08°)
OKLaboklab(57.11% 0.0268 -0.1972)
OKLCHoklch(57.11% 0.199 277.7)
XYZxyz(24.0007, 17.1582, 79.1221)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162E9 #E9E861
analogous
#61A6E9 #6162E9 #A461E9
triadic
#6162E9 #E96162 #62E961
tetradic
#6162E9 #E961A6 #E9E861 #61E9A4
square
#6162E9 #E961A6 #E9E861 #61E9A4
split-complementary
#6162E9 #E9A461 #A6E961
monochromatic
#191BB6 #2B2DE2 #6162E9 #9797F0 #CCCDF8

Accessibility & contrast

On white

4.74
#6162E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6162E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162E9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162E9#FFFFFF#000000##FFFFFF
##6162E91.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)
#0079ED
Deuteranopia (green-blind)
#006DE6
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6162e9;
/* rgb */ color: rgb(97, 98, 233);
/* oklch */ color: oklch(57.1% 0.199 277.7);
Tailwind
colors: {
  custom: {
    50: '#9a8ff1',
    500: '#6162e9',
    950: '#000000',
  },
}
SCSS
$custom: #6162e9;
$custom-light: #9a8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#6162e9",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 239.559,
    "s": 75.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57109,
    "c": 0.19904,
    "h": 277.7
  },
  "luminance": 0.1716
}

Semantic roles & 50–950 ramp

primary
#6162E9
secondary
#EAEABC
accent
#D60ED8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6162E9

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

Preview Lab → · Contrast checker → · Palette generator →

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