#6162FE#6162FE

#6162FE is a mid, highly saturated blue. Relative luminance 0.184; OKLCH L 58.7% C 0.226 H 276.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#6162FE
RGBrgb(97, 98, 254)
HSLhsl(240, 99%, 69%)
HSVhsv(240, 62%, 100%)
CMYKcmyk(61.8%, 61.4%, 0%, 0.4%)
CIE-LABlab(50.01, 44.87, -77.88)
CIE-LCHlch(50.01, 89.88, 299.95°)
OKLaboklab(58.74% 0.026 -0.2243)
OKLCHoklch(58.74% 0.226 276.6)
XYZxyz(27.1810, 18.4303, 95.8717)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162FE #FEFD61
analogous
#61B1FE #6162FE #AF61FE
triadic
#6162FE #FE6162 #62FE61
tetradic
#6162FE #FE61B1 #FEFD61 #61FEAF
square
#6162FE #FE61B1 #FEFD61 #61FEAF
split-complementary
#6162FE #FEAF61 #B1FE61
monochromatic
#0103E3 #2426FE #6162FE #9E9EFE #DBDBFF

Accessibility & contrast

On white

4.48
#6162FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#6162FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6162FE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162FE#FFFFFF#000000##000000
##6162FE1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0070FB
Tritanopia (blue-blind)
#0089A7
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6162fe;
/* rgb */ color: rgb(97, 98, 254);
/* oklch */ color: oklch(58.7% 0.226 276.6);
Tailwind
colors: {
  custom: {
    50: '#9d8fff',
    500: '#6162fe',
    950: '#000000',
  },
}
SCSS
$custom: #6162fe;
$custom-light: #9d8fff;
$custom-dark: #000000;
JSON
{
  "hex": "#6162fe",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 254
  },
  "hsl": {
    "h": 239.618,
    "s": 98.742,
    "l": 68.824
  },
  "oklch": {
    "l": 0.58742,
    "c": 0.22579,
    "h": 276.6
  },
  "luminance": 0.18433
}

Semantic roles & 50–950 ramp

primary
#6162FE
secondary
#F5F4C6
accent
#E400E6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6162FE

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

Preview Lab → · Contrast checker → · Palette generator →

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