#6162EC#6162EC

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

Color values

HEX#6162EC
RGBrgb(97, 98, 236)
HSLhsl(240, 79%, 65%)
HSVhsv(240, 59%, 93%)
CMYKcmyk(58.9%, 58.5%, 0%, 7.5%)
CIE-LABlab(48.67, 39.15, -70.01)
CIE-LCHlch(48.67, 80.21, 299.21°)
OKLaboklab(57.34% 0.0267 -0.2012)
OKLCHoklch(57.34% 0.203 277.6)
XYZxyz(24.4329, 17.3311, 81.3983)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162EC #ECEB61
analogous
#61A8EC #6162EC #A561EC
triadic
#6162EC #EC6162 #62EC61
tetradic
#6162EC #EC61A8 #ECEB61 #61ECA5
square
#6162EC #EC61A8 #ECEB61 #61ECA5
split-complementary
#6162EC #ECA561 #A8EC61
monochromatic
#1718BC #2A2CE5 #6162EC #9898F3 #CECFF9

Accessibility & contrast

On white

4.70
#6162EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#6162EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162EC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162EC#FFFFFF#000000##FFFFFF
##6162EC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#006EE9
Tritanopia (blue-blind)
#00839E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6162ec;
/* rgb */ color: rgb(97, 98, 236);
/* oklch */ color: oklch(57.3% 0.203 277.6);
Tailwind
colors: {
  custom: {
    50: '#9a8ff3',
    500: '#6162ec',
    950: '#000000',
  },
}
SCSS
$custom: #6162ec;
$custom-light: #9a8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#6162ec",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 239.568,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57337,
    "c": 0.20293,
    "h": 277.6
  },
  "luminance": 0.17333
}

Semantic roles & 50–950 ramp

primary
#6162EC
secondary
#ECEBBD
accent
#D90BDB
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6162EC

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

Preview Lab → · Contrast checker → · Palette generator →

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