#6162EA#6162EA

#6162EA is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.2% C 0.200 H 277.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6162EA
RGBrgb(97, 98, 234)
HSLhsl(240, 77%, 65%)
HSVhsv(240, 59%, 92%)
CMYKcmyk(58.5%, 58.1%, 0%, 8.2%)
CIE-LABlab(48.53, 38.51, -69.12)
CIE-LCHlch(48.53, 79.12, 299.13°)
OKLaboklab(57.18% 0.0267 -0.1985)
OKLCHoklch(57.18% 0.2 277.7)
XYZxyz(24.1440, 17.2155, 79.8766)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162EA #EAE961
analogous
#61A7EA #6162EA #A561EA
triadic
#6162EA #EA6162 #62EA61
tetradic
#6162EA #EA61A7 #EAE961 #61EAA5
square
#6162EA #EA61A7 #EAE961 #61EAA5
split-complementary
#6162EA #EAA561 #A7EA61
monochromatic
#181AB8 #2B2CE3 #6162EA #9798F1 #CDCDF8

Accessibility & contrast

On white

4.73
#6162EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#6162EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162EA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162EA#FFFFFF#000000##FFFFFF
##6162EA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6162ea;
/* rgb */ color: rgb(97, 98, 234);
/* oklch */ color: oklch(57.2% 0.200 277.7);
Tailwind
colors: {
  custom: {
    50: '#9a8ff2',
    500: '#6162ea',
    950: '#000000',
  },
}
SCSS
$custom: #6162ea;
$custom-light: #9a8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#6162ea",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 239.562,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57185,
    "c": 0.20034,
    "h": 277.7
  },
  "luminance": 0.17217
}

Semantic roles & 50–950 ramp

primary
#6162EA
secondary
#EBEABC
accent
#D70DD9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6162EA

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

Preview Lab → · Contrast checker → · Palette generator →

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