#6162F0#6162F0

#6162F0 is a mid, highly saturated blue. Relative luminance 0.176; OKLCH L 57.6% C 0.208 H 277.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6162F0
RGBrgb(97, 98, 240)
HSLhsl(240, 83%, 66%)
HSVhsv(240, 60%, 94%)
CMYKcmyk(59.6%, 59.2%, 0%, 5.9%)
CIE-LABlab(48.97, 40.42, -71.78)
CIE-LCHlch(48.97, 82.38, 299.39°)
OKLaboklab(57.64% 0.0266 -0.2064)
OKLCHoklch(57.64% 0.208 277.4)
XYZxyz(25.0206, 17.5661, 84.4933)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162F0 #F0EF61
analogous
#61A9F0 #6162F0 #A761F0
triadic
#6162F0 #F06162 #62F061
tetradic
#6162F0 #F061A9 #F0EF61 #61F0A7
square
#6162F0 #F061A9 #F0EF61 #61F0A7
split-complementary
#6162F0 #F0A761 #A9F061
monochromatic
#1314C4 #292AEB #6162F0 #999AF5 #D1D1FB

Accessibility & contrast

On white

4.65
#6162F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6162F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6162F0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162F0#FFFFFF#000000##FFFFFF
##6162F01.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF5
Deuteranopia (green-blind)
#006EED
Tritanopia (blue-blind)
#0085A0
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6162f0;
/* rgb */ color: rgb(97, 98, 240);
/* oklch */ color: oklch(57.6% 0.208 277.4);
Tailwind
colors: {
  custom: {
    50: '#9b8ff6',
    500: '#6162f0',
    950: '#000000',
  },
}
SCSS
$custom: #6162f0;
$custom-light: #9b8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#6162f0",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 239.58,
    "s": 82.659,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57643,
    "c": 0.20808,
    "h": 277.4
  },
  "luminance": 0.17568
}

Semantic roles & 50–950 ramp

primary
#6162F0
secondary
#EEEEBF
accent
#DE06DF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6162F0

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

Preview Lab → · Contrast checker → · Palette generator →

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