#6162E8#6162E8

#6162E8 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 57.0% C 0.198 H 277.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6162E8
RGBrgb(97, 98, 232)
HSLhsl(240, 75%, 65%)
HSVhsv(240, 58%, 91%)
CMYKcmyk(58.2%, 57.8%, 0%, 9%)
CIE-LABlab(48.39, 37.87, -68.23)
CIE-LCHlch(48.39, 78.03, 299.04°)
OKLaboklab(57.03% 0.0268 -0.1959)
OKLCHoklch(57.03% 0.198 277.8)
XYZxyz(23.8583, 17.1012, 78.3719)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162E8 #E8E761
analogous
#61A5E8 #6162E8 #A461E8
triadic
#6162E8 #E86162 #62E861
tetradic
#6162E8 #E861A5 #E8E761 #61E8A4
square
#6162E8 #E861A5 #E8E761 #61E8A4
split-complementary
#6162E8 #E8A461 #A5E861
monochromatic
#1A1BB4 #2C2DE0 #6162E8 #9697F0 #CCCCF8

Accessibility & contrast

On white

4.75
#6162E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6162E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162E8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162E8#FFFFFF#000000##FFFFFF
##6162E81.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#006DE5
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6162e8;
/* rgb */ color: rgb(97, 98, 232);
/* oklch */ color: oklch(57.0% 0.198 277.8);
Tailwind
colors: {
  custom: {
    50: '#9a8ff0',
    500: '#6162e8',
    950: '#000000',
  },
}
SCSS
$custom: #6162e8;
$custom-light: #9a8ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#6162e8",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 239.556,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.19774,
    "h": 277.8
  },
  "luminance": 0.17103
}

Semantic roles & 50–950 ramp

primary
#6162E8
secondary
#EAE9BB
accent
#D50FD7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6162E8

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

Preview Lab → · Contrast checker → · Palette generator →

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