#6162F2#6162F2

#6162F2 is a mid, highly saturated blue. Relative luminance 0.177; OKLCH L 57.8% C 0.211 H 277.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6162F2
RGBrgb(97, 98, 242)
HSLhsl(240, 85%, 66%)
HSVhsv(240, 60%, 95%)
CMYKcmyk(59.9%, 59.5%, 0%, 5.1%)
CIE-LABlab(49.11, 41.06, -72.66)
CIE-LCHlch(49.11, 83.46, 299.47°)
OKLaboklab(57.8% 0.0266 -0.2089)
OKLCHoklch(57.8% 0.211 277.2)
XYZxyz(25.3193, 17.6856, 86.0666)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162F2 #F2F161
analogous
#61ABF2 #6162F2 #A961F2
triadic
#6162F2 #F26162 #62F261
tetradic
#6162F2 #F261AB #F2F161 #61F2A9
square
#6162F2 #F261AB #F2F161 #61F2A9
split-complementary
#6162F2 #F2A961 #ABF261
monochromatic
#1012C8 #282AED #6162F2 #9A9AF7 #D2D2FB

Accessibility & contrast

On white

4.63
#6162F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#6162F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6162F2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162F2#FFFFFF#000000##FFFFFF
##6162F21.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#0085A1
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6162f2;
/* rgb */ color: rgb(97, 98, 242);
/* oklch */ color: oklch(57.8% 0.211 277.2);
Tailwind
colors: {
  custom: {
    50: '#9b8ff7',
    500: '#6162f2',
    950: '#000000',
  },
}
SCSS
$custom: #6162f2;
$custom-light: #9b8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#6162f2",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 239.586,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.57797,
    "c": 0.21063,
    "h": 277.2
  },
  "luminance": 0.17688
}

Semantic roles & 50–950 ramp

primary
#6162F2
secondary
#EFEFC0
accent
#E004E1
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6162F2

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

Preview Lab → · Contrast checker → · Palette generator →

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