#6162EE#6162EE

#6162EE is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.5% C 0.206 H 277.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6162EE
RGBrgb(97, 98, 238)
HSLhsl(240, 81%, 66%)
HSVhsv(240, 59%, 93%)
CMYKcmyk(59.2%, 58.8%, 0%, 6.7%)
CIE-LABlab(48.82, 39.79, -70.90)
CIE-LCHlch(48.82, 81.30, 299.30°)
OKLaboklab(57.49% 0.0267 -0.2038)
OKLCHoklch(57.49% 0.206 277.5)
XYZxyz(24.7251, 17.4479, 82.9372)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162EE #EEED61
analogous
#61A9EE #6162EE #A661EE
triadic
#6162EE #EE6162 #62EE61
tetradic
#6162EE #EE61A9 #EEED61 #61EEA6
square
#6162EE #EE61A9 #EEED61 #61EEA6
split-complementary
#6162EE #EEA661 #A9EE61
monochromatic
#1516C0 #2A2BE8 #6162EE #9899F4 #D0D0FA

Accessibility & contrast

On white

4.68
#6162EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#6162EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162EE
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162EE#FFFFFF#000000##FFFFFF
##6162EE1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF3
Deuteranopia (green-blind)
#006EEB
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6162ee;
/* rgb */ color: rgb(97, 98, 238);
/* oklch */ color: oklch(57.5% 0.206 277.5);
Tailwind
colors: {
  custom: {
    50: '#9b8ff4',
    500: '#6162ee',
    950: '#000000',
  },
}
SCSS
$custom: #6162ee;
$custom-light: #9b8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#6162ee",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 239.574,
    "s": 80.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57489,
    "c": 0.20551,
    "h": 277.5
  },
  "luminance": 0.1745
}

Semantic roles & 50–950 ramp

primary
#6162EE
secondary
#EDEDBE
accent
#DB09DD
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6162EE

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

Preview Lab → · Contrast checker → · Palette generator →

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