#6162CA#6162CA

#6162CA is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.9% C 0.157 H 279.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6162CA
RGBrgb(97, 98, 202)
HSLhsl(239, 50%, 59%)
HSVhsv(239, 52%, 79%)
CMYKcmyk(52%, 51.5%, 0%, 20.8%)
CIE-LABlab(46.36, 28.36, -54.43)
CIE-LCHlch(46.36, 61.37, 297.52°)
OKLaboklab(54.88% 0.0259 -0.1553)
OKLCHoklch(54.88% 0.157 279.5)
XYZxyz(19.9548, 15.5398, 57.8137)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162CA #CAC961
analogous
#6196CA #6162CA #9461CA
triadic
#6162CA #CA6162 #62CA61
tetradic
#6162CA #CA6196 #CAC961 #61CA94
square
#6162CA #CA6196 #CAC961 #61CA94
split-complementary
#6162CA #CA9461 #96CA61
monochromatic
#2C2D84 #3C3DB2 #6162CA #8F90D9 #BDBDE9

Accessibility & contrast

On white

5.11
#6162CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#6162CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162CA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162CA#FFFFFF#000000##FFFFFF
##6162CA1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#206AC8
Tritanopia (blue-blind)
#35798D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6162ca;
/* rgb */ color: rgb(97, 98, 202);
/* oklch */ color: oklch(54.9% 0.157 279.5);
Tailwind
colors: {
  custom: {
    50: '#958edb',
    500: '#6162ca',
    950: '#000000',
  },
}
SCSS
$custom: #6162ca;
$custom-light: #958edb;
$custom-dark: #000000;
JSON
{
  "hex": "#6162ca",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 239.429,
    "s": 49.763,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54883,
    "c": 0.15747,
    "h": 279.5
  },
  "luminance": 0.15541
}

Semantic roles & 50–950 ramp

primary
#6162CA
secondary
#D8D8AF
accent
#D84FD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6162CA

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

Preview Lab → · Contrast checker → · Palette generator →

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