#6162FA#6162FA

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

Color values

HEX#6162FA
RGBrgb(97, 98, 250)
HSLhsl(240, 94%, 68%)
HSVhsv(240, 61%, 98%)
CMYKcmyk(61.2%, 60.8%, 0%, 2%)
CIE-LABlab(49.71, 43.60, -76.15)
CIE-LCHlch(49.71, 87.75, 299.80°)
OKLaboklab(58.42% 0.0262 -0.2192)
OKLCHoklch(58.42% 0.221 276.8)
XYZxyz(26.5472, 18.1768, 92.5335)
Luminance0.1818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162FA #FAF961
analogous
#61AEFA #6162FA #AC61FA
triadic
#6162FA #FA6162 #62FA61
tetradic
#6162FA #FA61AE #FAF961 #61FAAC
square
#6162FA #FA61AE #FAF961 #61FAAC
split-complementary
#6162FA #FAAC61 #AEFA61
monochromatic
#0708DA #2627F8 #6162FA #9C9DFC #D8D8FE

Accessibility & contrast

On white

4.53
#6162FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#6162FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6162FA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162FA#FFFFFF#000000##000000
##6162FA1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6162fa;
/* rgb */ color: rgb(97, 98, 250);
/* oklch */ color: oklch(58.4% 0.221 276.8);
Tailwind
colors: {
  custom: {
    50: '#9d8ffd',
    500: '#6162fa',
    950: '#000000',
  },
}
SCSS
$custom: #6162fa;
$custom-light: #9d8ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#6162fa",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 239.608,
    "s": 93.865,
    "l": 68.039
  },
  "oklch": {
    "l": 0.58424,
    "c": 0.22077,
    "h": 276.8
  },
  "luminance": 0.18179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6162FA

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

Preview Lab → · Contrast checker → · Palette generator →

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