#6162F6#6162F6

#6162F6 is a mid, highly saturated blue. Relative luminance 0.179; OKLCH L 58.1% C 0.216 H 277.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6162F6
RGBrgb(97, 98, 246)
HSLhsl(240, 89%, 67%)
HSVhsv(240, 61%, 96%)
CMYKcmyk(60.6%, 60.2%, 0%, 3.5%)
CIE-LABlab(49.41, 42.33, -74.41)
CIE-LCHlch(49.41, 85.61, 299.64°)
OKLaboklab(58.11% 0.0264 -0.2141)
OKLCHoklch(58.11% 0.216 277)
XYZxyz(25.9266, 17.9286, 89.2652)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162F6 #F6F561
analogous
#61ADF6 #6162F6 #AA61F6
triadic
#6162F6 #F66162 #62F661
tetradic
#6162F6 #F661AD #F6F561 #61F6AA
square
#6162F6 #F661AD #F6F561 #61F6AA
split-complementary
#6162F6 #F6AA61 #ADF661
monochromatic
#0C0DD1 #2728F3 #6162F6 #9B9CF9 #D5D5FD

Accessibility & contrast

On white

4.58
#6162F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#6162F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6162F6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162F6#FFFFFF#000000##000000
##6162F61.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFB
Deuteranopia (green-blind)
#006FF3
Tritanopia (blue-blind)
#0087A3
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6162f6;
/* rgb */ color: rgb(97, 98, 246);
/* oklch */ color: oklch(58.1% 0.216 277.0);
Tailwind
colors: {
  custom: {
    50: '#9c8ffa',
    500: '#6162f6',
    950: '#000000',
  },
}
SCSS
$custom: #6162f6;
$custom-light: #9c8ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#6162f6",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 239.597,
    "s": 89.222,
    "l": 67.255
  },
  "oklch": {
    "l": 0.58109,
    "c": 0.21572,
    "h": 277
  },
  "luminance": 0.17931
}

Semantic roles & 50–950 ramp

primary
#6162F6
secondary
#F1F1C2
accent
#E400E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85

Preview Lab

Preview with #6162F6

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

Preview Lab → · Contrast checker → · Palette generator →

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