#6162DE#6162DE

#6162DE is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.3% C 0.185 H 278.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6162DE
RGBrgb(97, 98, 222)
HSLhsl(240, 65%, 63%)
HSVhsv(240, 56%, 87%)
CMYKcmyk(56.3%, 55.9%, 0%, 12.9%)
CIE-LABlab(47.69, 34.69, -63.71)
CIE-LCHlch(47.69, 72.54, 298.57°)
OKLaboklab(56.29% 0.0267 -0.1826)
OKLCHoklch(56.29% 0.185 278.3)
XYZxyz(22.4781, 16.5491, 71.1029)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162DE #DEDD61
analogous
#61A0DE #6162DE #9E61DE
triadic
#6162DE #DE6162 #62DE61
tetradic
#6162DE #DE61A0 #DEDD61 #61DE9E
square
#6162DE #DE61A0 #DEDD61 #61DE9E
split-complementary
#6162DE #DE9E61 #A0DE61
monochromatic
#2223A3 #2E30D3 #6162DE #9494E9 #C6C7F3

Accessibility & contrast

On white

4.87
#6162DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6162DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162DE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162DE#FFFFFF#000000##FFFFFF
##6162DE1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#1A7F96
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6162de;
/* rgb */ color: rgb(97, 98, 222);
/* oklch */ color: oklch(56.3% 0.185 278.3);
Tailwind
colors: {
  custom: {
    50: '#988ee9',
    500: '#6162de',
    950: '#000000',
  },
}
SCSS
$custom: #6162de;
$custom-light: #988ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#6162de",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 239.52,
    "s": 65.445,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56293,
    "c": 0.18459,
    "h": 278.3
  },
  "luminance": 0.16551
}

Semantic roles & 50–950 ramp

primary
#6162DE
secondary
#E4E4B7
accent
#CC18CD
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6162DE

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

Preview Lab → · Contrast checker → · Palette generator →

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