#6162FC#6162FC

#6162FC is a mid, highly saturated blue. Relative luminance 0.183; OKLCH L 58.6% C 0.223 H 276.7°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6162FC
RGBrgb(97, 98, 252)
HSLhsl(240, 96%, 68%)
HSVhsv(240, 62%, 99%)
CMYKcmyk(61.5%, 61.1%, 0%, 1.2%)
CIE-LABlab(49.86, 44.24, -77.01)
CIE-LCHlch(49.86, 88.82, 299.87°)
OKLaboklab(58.58% 0.0261 -0.2217)
OKLCHoklch(58.58% 0.223 276.7)
XYZxyz(26.8624, 18.3029, 94.1938)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162FC #FCFB61
analogous
#61AFFC #6162FC #AD61FC
triadic
#6162FC #FC6162 #62FC61
tetradic
#6162FC #FC61AF #FCFB61 #61FCAD
square
#6162FC #FC61AF #FCFB61 #61FCAD
split-complementary
#6162FC #FCAD61 #AFFC61
monochromatic
#0406DE #2526FB #6162FC #9D9EFD #D9D9FE

Accessibility & contrast

On white

4.51
#6162FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#6162FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6162FC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162FC#FFFFFF#000000##000000
##6162FC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0070F9
Tritanopia (blue-blind)
#0088A6
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6162fc;
/* rgb */ color: rgb(97, 98, 252);
/* oklch */ color: oklch(58.6% 0.223 276.7);
Tailwind
colors: {
  custom: {
    50: '#9d8ffe',
    500: '#6162fc',
    950: '#000000',
  },
}
SCSS
$custom: #6162fc;
$custom-light: #9d8ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#6162fc",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 252
  },
  "hsl": {
    "h": 239.613,
    "s": 96.273,
    "l": 68.431
  },
  "oklch": {
    "l": 0.58582,
    "c": 0.22329,
    "h": 276.7
  },
  "luminance": 0.18305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6162FC

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

Preview Lab → · Contrast checker → · Palette generator →

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