#6162DC#6162DC

#6162DC is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.1% C 0.182 H 278.4°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6162DC
RGBrgb(97, 98, 220)
HSLhsl(240, 64%, 62%)
HSVhsv(240, 56%, 86%)
CMYKcmyk(55.9%, 55.5%, 0%, 13.7%)
CIE-LABlab(47.55, 34.05, -62.80)
CIE-LCHlch(47.55, 71.44, 298.47°)
OKLaboklab(56.15% 0.0267 -0.1799)
OKLCHoklch(56.15% 0.182 278.4)
XYZxyz(22.2116, 16.4426, 69.6996)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162DC #DCDB61
analogous
#61A0DC #6162DC #9D61DC
triadic
#6162DC #DC6162 #62DC61
tetradic
#6162DC #DC61A0 #DCDB61 #61DC9D
square
#6162DC #DC61A0 #DCDB61 #61DC9D
split-complementary
#6162DC #DC9D61 #A0DC61
monochromatic
#23249F #2F30D1 #6162DC #9394E7 #C5C6F2

Accessibility & contrast

On white

4.90
#6162DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#6162DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162DC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162DC#FFFFFF#000000##FFFFFF
##6162DC1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#1E7E95
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6162dc;
/* rgb */ color: rgb(97, 98, 220);
/* oklch */ color: oklch(56.1% 0.182 278.4);
Tailwind
colors: {
  custom: {
    50: '#988ee8',
    500: '#6162dc',
    950: '#000000',
  },
}
SCSS
$custom: #6162dc;
$custom-light: #988ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#6162dc",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 239.512,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56147,
    "c": 0.18192,
    "h": 278.4
  },
  "luminance": 0.16444
}

Semantic roles & 50–950 ramp

primary
#6162DC
secondary
#E3E3B6
accent
#CA1ACC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6162DC

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

Preview Lab → · Contrast checker → · Palette generator →

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