#6162BF#6162BF

#6162BF is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.2% C 0.142 H 280.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6162BF
RGBrgb(97, 98, 191)
HSLhsl(239, 42%, 56%)
HSVhsv(239, 49%, 75%)
CMYKcmyk(49.2%, 48.7%, 0%, 25.1%)
CIE-LABlab(45.69, 24.91, -49.17)
CIE-LCHlch(45.69, 55.12, 296.87°)
OKLaboklab(54.15% 0.0249 -0.1399)
OKLCHoklch(54.15% 0.142 280.1)
XYZxyz(18.6985, 15.0373, 51.1973)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6162BF #BFBE61
analogous
#6191BF #6162BF #8F61BF
triadic
#6162BF #BF6162 #62BF61
tetradic
#6162BF #BF6191 #BFBE61 #61BF8F
square
#6162BF #BF6191 #BFBE61 #61BF8F
split-complementary
#6162BF #BF8F61 #91BF61
monochromatic
#303076 #4142A1 #6162BF #8D8DD1 #B8B9E2

Accessibility & contrast

On white

5.24
#6162BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6162BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6162BF
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6162BF#FFFFFF#000000##FFFFFF
##6162BF1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3870C2
Deuteranopia (green-blind)
#3169BD
Tritanopia (blue-blind)
#3E7687
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6162bf;
/* rgb */ color: rgb(97, 98, 191);
/* oklch */ color: oklch(54.2% 0.142 280.1);
Tailwind
colors: {
  custom: {
    50: '#948ed3',
    500: '#6162bf',
    950: '#000000',
  },
}
SCSS
$custom: #6162bf;
$custom-light: #948ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#6162bf",
  "rgb": {
    "r": 97,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 239.362,
    "s": 42.342,
    "l": 56.471
  },
  "oklch": {
    "l": 0.54153,
    "c": 0.14207,
    "h": 280.1
  },
  "luminance": 0.15038
}

Semantic roles & 50–950 ramp

primary
#6162BF
secondary
#D1D1AB
accent
#D156D2
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0E0C14
muted
#7E7D83

Preview Lab

Preview with #6162BF

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

Preview Lab → · Contrast checker → · Palette generator →

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