#6162E7#6162E7

#6162E7 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 57.0% C 0.196 H 277.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6162E7
RGBrgb(97, 98, 231)
HSLhsl(240, 74%, 64%)
HSVhsv(240, 58%, 91%)
CMYKcmyk(58%, 57.6%, 0%, 9.4%)
CIE-LABlab(48.32, 37.56, -67.78)
CIE-LCHlch(48.32, 77.49, 298.99°)
OKLaboklab(56.96% 0.0268 -0.1946)
OKLCHoklch(56.96% 0.196 277.8)
XYZxyz(23.7166, 17.0446, 77.6260)
Luminance0.1705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162E7 #E7E661
analogous
#61A5E7 #6162E7 #A361E7
triadic
#6162E7 #E76162 #62E761
tetradic
#6162E7 #E761A5 #E7E661 #61E7A3
square
#6162E7 #E761A5 #E7E661 #61E7A3
split-complementary
#6162E7 #E7A361 #A5E761
monochromatic
#1B1CB2 #2C2DDF #6162E7 #9697EF #CBCCF7

Accessibility & contrast

On white

4.76
#6162E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6162E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162E7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162E7#FFFFFF#000000##FFFFFF
##6162E71.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#006DE4
Tritanopia (blue-blind)
#00829B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6162e7;
/* rgb */ color: rgb(97, 98, 231);
/* oklch */ color: oklch(57.0% 0.196 277.8);
Tailwind
colors: {
  custom: {
    50: '#998fef',
    500: '#6162e7',
    950: '#000000',
  },
}
SCSS
$custom: #6162e7;
$custom-light: #998fef;
$custom-dark: #000000;
JSON
{
  "hex": "#6162e7",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 239.552,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56959,
    "c": 0.19643,
    "h": 277.8
  },
  "luminance": 0.17046
}

Semantic roles & 50–950 ramp

primary
#6162E7
secondary
#E9E9BB
accent
#D410D6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6162E7

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

Preview Lab → · Contrast checker → · Palette generator →

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