#6162BC#6162BC

#6162BC is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.0% C 0.138 H 280.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#6162BC
RGBrgb(97, 98, 188)
HSLhsl(239, 40%, 56%)
HSVhsv(239, 48%, 74%)
CMYKcmyk(48.4%, 47.9%, 0%, 26.3%)
CIE-LABlab(45.51, 23.98, -47.71)
CIE-LCHlch(45.51, 53.40, 296.69°)
OKLaboklab(53.96% 0.0245 -0.1356)
OKLCHoklch(53.96% 0.138 280.2)
XYZxyz(18.3718, 14.9066, 49.4764)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162BC #BCBB61
analogous
#618FBC #6162BC #8D61BC
triadic
#6162BC #BC6162 #62BC61
tetradic
#6162BC #BC618F #BCBB61 #61BC8D
square
#6162BC #BC618F #BCBB61 #61BC8D
split-complementary
#6162BC #BC8D61 #8FBC61
monochromatic
#303172 #43449D #6162BC #8C8DCE #B7B7E0

Accessibility & contrast

On white

5.27
#6162BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6162BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162BC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162BC#FFFFFF#000000##FFFFFF
##6162BC1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6FBF
Deuteranopia (green-blind)
#3468BA
Tritanopia (blue-blind)
#407586
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6162bc;
/* rgb */ color: rgb(97, 98, 188);
/* oklch */ color: oklch(54.0% 0.138 280.2);
Tailwind
colors: {
  custom: {
    50: '#938ed1',
    500: '#6162bc',
    950: '#000000',
  },
}
SCSS
$custom: #6162bc;
$custom-light: #938ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#6162bc",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 239.341,
    "s": 40.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5396,
    "c": 0.13781,
    "h": 280.2
  },
  "luminance": 0.14908
}

Semantic roles & 50–950 ramp

primary
#6162BC
secondary
#CFCFAA
accent
#CF57D0
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0E0C14
muted
#7E7D82

Preview Lab

Preview with #6162BC

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

Preview Lab → · Contrast checker → · Palette generator →

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