#6162CF#6162CF

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

Color values

HEX#6162CF
RGBrgb(97, 98, 207)
HSLhsl(239, 53%, 60%)
HSVhsv(239, 53%, 81%)
CMYKcmyk(53.1%, 52.7%, 0%, 18.8%)
CIE-LABlab(46.69, 29.93, -56.78)
CIE-LCHlch(46.69, 64.19, 297.80°)
OKLaboklab(55.23% 0.0262 -0.1622)
OKLCHoklch(55.23% 0.164 279.2)
XYZxyz(20.5564, 15.7805, 60.9821)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162CF #CFCE61
analogous
#6199CF #6162CF #9761CF
triadic
#6162CF #CF6162 #62CF61
tetradic
#6162CF #CF6199 #CFCE61 #61CF97
square
#6162CF #CF6199 #CFCE61 #61CF97
split-complementary
#6162CF #CF9761 #99CF61
monochromatic
#2A2B8B #393ABA #6162CF #9091DD #BFBFEC

Accessibility & contrast

On white

5.05
#6162CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6162CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162CF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162CF#FFFFFF#000000##FFFFFF
##6162CF1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2573D3
Deuteranopia (green-blind)
#146ACD
Tritanopia (blue-blind)
#307B8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6162cf;
/* rgb */ color: rgb(97, 98, 207);
/* oklch */ color: oklch(55.2% 0.164 279.2);
Tailwind
colors: {
  custom: {
    50: '#968ede',
    500: '#6162cf',
    950: '#000000',
  },
}
SCSS
$custom: #6162cf;
$custom-light: #968ede;
$custom-dark: #000000;
JSON
{
  "hex": "#6162cf",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 239.455,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55226,
    "c": 0.16435,
    "h": 279.2
  },
  "luminance": 0.15782
}

Semantic roles & 50–950 ramp

primary
#6162CF
secondary
#DBDBB1
accent
#DB4BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6162CF

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

Preview Lab → · Contrast checker → · Palette generator →

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