#6162DD#6162DD

#6162DD is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.2% C 0.183 H 278.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6162DD
RGBrgb(97, 98, 221)
HSLhsl(240, 65%, 62%)
HSVhsv(240, 56%, 87%)
CMYKcmyk(56.1%, 55.7%, 0%, 13.3%)
CIE-LABlab(47.62, 34.37, -63.25)
CIE-LCHlch(47.62, 71.99, 298.52°)
OKLaboklab(56.22% 0.0267 -0.1813)
OKLCHoklch(56.22% 0.183 278.4)
XYZxyz(22.3445, 16.4957, 70.3991)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162DD #DDDC61
analogous
#61A0DD #6162DD #9E61DD
triadic
#6162DD #DD6162 #62DD61
tetradic
#6162DD #DD61A0 #DDDC61 #61DD9E
square
#6162DD #DD61A0 #DDDC61 #61DD9E
split-complementary
#6162DD #DD9E61 #A0DD61
monochromatic
#2324A1 #2F30D2 #6162DD #9394E8 #C6C6F3

Accessibility & contrast

On white

4.88
#6162DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#6162DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162DD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162DD#FFFFFF#000000##FFFFFF
##6162DD1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#1C7F96
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6162dd;
/* rgb */ color: rgb(97, 98, 221);
/* oklch */ color: oklch(56.2% 0.183 278.4);
Tailwind
colors: {
  custom: {
    50: '#988ee8',
    500: '#6162dd',
    950: '#000000',
  },
}
SCSS
$custom: #6162dd;
$custom-light: #988ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#6162dd",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 239.516,
    "s": 64.583,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5622,
    "c": 0.18326,
    "h": 278.4
  },
  "luminance": 0.16497
}

Semantic roles & 50–950 ramp

primary
#6162DD
secondary
#E4E3B6
accent
#CB19CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6162DD

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

Preview Lab → · Contrast checker → · Palette generator →

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