#6162FB#6162FB

#6162FB is a mid, highly saturated blue. Relative luminance 0.182; OKLCH L 58.5% C 0.222 H 276.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6162FB
RGBrgb(97, 98, 251)
HSLhsl(240, 95%, 68%)
HSVhsv(240, 61%, 98%)
CMYKcmyk(61.4%, 61%, 0%, 1.6%)
CIE-LABlab(49.79, 43.92, -76.58)
CIE-LCHlch(49.79, 88.28, 299.84°)
OKLaboklab(58.5% 0.0262 -0.2205)
OKLCHoklch(58.5% 0.222 276.8)
XYZxyz(26.7044, 18.2397, 93.3614)
Luminance0.1824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162FB #FBFA61
analogous
#61AFFB #6162FB #AD61FB
triadic
#6162FB #FB6162 #62FB61
tetradic
#6162FB #FB61AF #FBFA61 #61FBAD
square
#6162FB #FB61AF #FBFA61 #61FBAD
split-complementary
#6162FB #FBAD61 #AFFB61
monochromatic
#0607DC #2527F9 #6162FB #9D9DFD #D8D9FE

Accessibility & contrast

On white

4.52
#6162FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#6162FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6162FB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162FB#FFFFFF#000000##000000
##6162FB1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0070F8
Tritanopia (blue-blind)
#0088A5
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6162fb;
/* rgb */ color: rgb(97, 98, 251);
/* oklch */ color: oklch(58.5% 0.222 276.8);
Tailwind
colors: {
  custom: {
    50: '#9d8ffe',
    500: '#6162fb',
    950: '#000000',
  },
}
SCSS
$custom: #6162fb;
$custom-light: #9d8ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#6162fb",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 251
  },
  "hsl": {
    "h": 239.61,
    "s": 95.062,
    "l": 68.235
  },
  "oklch": {
    "l": 0.58503,
    "c": 0.22203,
    "h": 276.8
  },
  "luminance": 0.18242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6162FB

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

Preview Lab → · Contrast checker → · Palette generator →

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