#6162C8#6162C8

#6162C8 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.7% C 0.155 H 279.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#6162C8
RGBrgb(97, 98, 200)
HSLhsl(239, 48%, 58%)
HSVhsv(239, 52%, 78%)
CMYKcmyk(51.5%, 51%, 0%, 21.6%)
CIE-LABlab(46.24, 27.73, -53.48)
CIE-LCHlch(46.24, 60.24, 297.41°)
OKLaboklab(54.75% 0.0257 -0.1525)
OKLCHoklch(54.75% 0.155 279.6)
XYZxyz(19.7195, 15.4457, 56.5746)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162C8 #C8C761
analogous
#6196C8 #6162C8 #9361C8
triadic
#6162C8 #C86162 #62C861
tetradic
#6162C8 #C86196 #C8C761 #61C893
square
#6162C8 #C86196 #C8C761 #61C893
split-complementary
#6162C8 #C89361 #96C861
monochromatic
#2D2E82 #3D3EAF #6162C8 #8E8FD8 #BCBCE8

Accessibility & contrast

On white

5.14
#6162C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#6162C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162C8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162C8#FFFFFF#000000##FFFFFF
##6162C81.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F72CC
Deuteranopia (green-blind)
#246AC6
Tritanopia (blue-blind)
#36798C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6162c8;
/* rgb */ color: rgb(97, 98, 200);
/* oklch */ color: oklch(54.7% 0.155 279.6);
Tailwind
colors: {
  custom: {
    50: '#958ed9',
    500: '#6162c8',
    950: '#000000',
  },
}
SCSS
$custom: #6162c8;
$custom-light: #958ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#6162c8",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 239.417,
    "s": 48.357,
    "l": 58.235
  },
  "oklch": {
    "l": 0.54748,
    "c": 0.15469,
    "h": 279.6
  },
  "luminance": 0.15447
}

Semantic roles & 50–950 ramp

primary
#6162C8
secondary
#D7D7AE
accent
#D750D8
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6162C8

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

Preview Lab → · Contrast checker → · Palette generator →

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