#6162CD#6162CD

#6162CD is a mid, vivid blue. Relative luminance 0.157; OKLCH L 55.1% C 0.162 H 279.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6162CD
RGBrgb(97, 98, 205)
HSLhsl(239, 52%, 59%)
HSVhsv(239, 53%, 80%)
CMYKcmyk(52.7%, 52.2%, 0%, 19.6%)
CIE-LABlab(46.56, 29.30, -55.84)
CIE-LCHlch(46.56, 63.06, 297.69°)
OKLaboklab(55.09% 0.0261 -0.1595)
OKLCHoklch(55.09% 0.162 279.3)
XYZxyz(20.3135, 15.6833, 59.7026)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162CD #CDCC61
analogous
#6198CD #6162CD #9661CD
triadic
#6162CD #CD6162 #62CD61
tetradic
#6162CD #CD6198 #CDCC61 #61CD96
square
#6162CD #CD6198 #CDCC61 #61CD96
split-complementary
#6162CD #CD9661 #98CD61
monochromatic
#2B2C88 #3A3BB7 #6162CD #8F90DC #BEBEEA

Accessibility & contrast

On white

5.08
#6162CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6162CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162CD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162CD#FFFFFF#000000##FFFFFF
##6162CD1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2973D1
Deuteranopia (green-blind)
#196ACB
Tritanopia (blue-blind)
#327A8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6162cd;
/* rgb */ color: rgb(97, 98, 205);
/* oklch */ color: oklch(55.1% 0.162 279.3);
Tailwind
colors: {
  custom: {
    50: '#968edd',
    500: '#6162cd',
    950: '#000000',
  },
}
SCSS
$custom: #6162cd;
$custom-light: #968edd;
$custom-dark: #000000;
JSON
{
  "hex": "#6162cd",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 239.444,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.55088,
    "c": 0.16161,
    "h": 279.3
  },
  "luminance": 0.15685
}

Semantic roles & 50–950 ramp

primary
#6162CD
secondary
#DADAB0
accent
#DA4CDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6162CD

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

Preview Lab → · Contrast checker → · Palette generator →

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