#6162CE#6162CE

#6162CE is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.2% C 0.163 H 279.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6162CE
RGBrgb(97, 98, 206)
HSLhsl(239, 53%, 59%)
HSVhsv(239, 53%, 81%)
CMYKcmyk(52.9%, 52.4%, 0%, 19.2%)
CIE-LABlab(46.62, 29.62, -56.31)
CIE-LCHlch(46.62, 63.63, 297.74°)
OKLaboklab(55.16% 0.0261 -0.1609)
OKLCHoklch(55.16% 0.163 279.2)
XYZxyz(20.4346, 15.7317, 60.3403)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162CE #CECD61
analogous
#6198CE #6162CE #9761CE
triadic
#6162CE #CE6162 #62CE61
tetradic
#6162CE #CE6198 #CECD61 #61CE97
square
#6162CE #CE6198 #CECD61 #61CE97
split-complementary
#6162CE #CE9761 #98CE61
monochromatic
#2B2C8A #393AB9 #6162CE #9090DC #BEBFEB

Accessibility & contrast

On white

5.06
#6162CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6162CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162CE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162CE#FFFFFF#000000##FFFFFF
##6162CE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2773D2
Deuteranopia (green-blind)
#176ACC
Tritanopia (blue-blind)
#317A8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6162ce;
/* rgb */ color: rgb(97, 98, 206);
/* oklch */ color: oklch(55.2% 0.163 279.2);
Tailwind
colors: {
  custom: {
    50: '#968ede',
    500: '#6162ce',
    950: '#000000',
  },
}
SCSS
$custom: #6162ce;
$custom-light: #968ede;
$custom-dark: #000000;
JSON
{
  "hex": "#6162ce",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 239.45,
    "s": 52.657,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55157,
    "c": 0.16298,
    "h": 279.2
  },
  "luminance": 0.15733
}

Semantic roles & 50–950 ramp

primary
#6162CE
secondary
#DBDAB0
accent
#DB4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6162CE

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

Preview Lab → · Contrast checker → · Palette generator →

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