#6162BB#6162BB

#6162BB is a mid, vivid blue. Relative luminance 0.149; OKLCH L 53.9% C 0.136 H 280.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6162BB
RGBrgb(97, 98, 187)
HSLhsl(239, 40%, 56%)
HSVhsv(239, 48%, 73%)
CMYKcmyk(48.1%, 47.6%, 0%, 26.7%)
CIE-LABlab(45.45, 23.67, -47.23)
CIE-LCHlch(45.45, 52.83, 296.62°)
OKLaboklab(53.9% 0.0244 -0.1342)
OKLCHoklch(53.9% 0.136 280.3)
XYZxyz(18.2644, 14.8637, 48.9107)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162BB #BBBA61
analogous
#618FBB #6162BB #8D61BB
triadic
#6162BB #BB6162 #62BB61
tetradic
#6162BB #BB618F #BBBA61 #61BB8D
square
#6162BB #BB618F #BBBA61 #61BB8D
split-complementary
#6162BB #BB8D61 #8FBB61
monochromatic
#313171 #43449C #6162BB #8C8DCD #B7B7E0

Accessibility & contrast

On white

5.29
#6162BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#6162BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162BB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162BB#FFFFFF#000000##FFFFFF
##6162BB1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C6FBE
Deuteranopia (green-blind)
#3568B9
Tritanopia (blue-blind)
#407585
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6162bb;
/* rgb */ color: rgb(97, 98, 187);
/* oklch */ color: oklch(53.9% 0.136 280.3);
Tailwind
colors: {
  custom: {
    50: '#938ed0',
    500: '#6162bb',
    950: '#000000',
  },
}
SCSS
$custom: #6162bb;
$custom-light: #938ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6162bb",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 239.333,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53896,
    "c": 0.13638,
    "h": 280.3
  },
  "luminance": 0.14865
}

Semantic roles & 50–950 ramp

primary
#6162BB
secondary
#CFCEA9
accent
#CE58D0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6162BB

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

Preview Lab → · Contrast checker → · Palette generator →

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