#6162EB#6162EB

#6162EB is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.3% C 0.202 H 277.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#6162EB
RGBrgb(97, 98, 235)
HSLhsl(240, 78%, 65%)
HSVhsv(240, 59%, 92%)
CMYKcmyk(58.7%, 58.3%, 0%, 7.8%)
CIE-LABlab(48.60, 38.83, -69.56)
CIE-LCHlch(48.60, 79.67, 299.17°)
OKLaboklab(57.26% 0.0267 -0.1999)
OKLCHoklch(57.26% 0.202 277.6)
XYZxyz(24.2880, 17.2731, 80.6353)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162EB #EBEA61
analogous
#61A7EB #6162EB #A561EB
triadic
#6162EB #EB6162 #62EB61
tetradic
#6162EB #EB61A7 #EBEA61 #61EBA5
square
#6162EB #EB61A7 #EBEA61 #61EBA5
split-complementary
#6162EB #EBA561 #A7EB61
monochromatic
#1819BA #2B2CE4 #6162EB #9798F2 #CECEF9

Accessibility & contrast

On white

4.71
#6162EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#6162EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162EB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162EB#FFFFFF#000000##FFFFFF
##6162EB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6162eb;
/* rgb */ color: rgb(97, 98, 235);
/* oklch */ color: oklch(57.3% 0.202 277.6);
Tailwind
colors: {
  custom: {
    50: '#9a8ff2',
    500: '#6162eb',
    950: '#000000',
  },
}
SCSS
$custom: #6162eb;
$custom-light: #9a8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#6162eb",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 239.565,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57261,
    "c": 0.20164,
    "h": 277.6
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

primary
#6162EB
secondary
#EBEBBD
accent
#D80CDA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6162EB

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

Preview Lab → · Contrast checker → · Palette generator →

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