#6165E2#6165E2

#6165E2 is a mid, vivid blue. Relative luminance 0.173; OKLCH L 57.1% C 0.186 H 277.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6165E2
RGBrgb(97, 101, 226)
HSLhsl(238, 69%, 63%)
HSVhsv(238, 57%, 89%)
CMYKcmyk(57.1%, 55.3%, 0%, 11.4%)
CIE-LABlab(48.68, 34.15, -64.36)
CIE-LCHlch(48.68, 72.86, 297.95°)
OKLaboklab(57.12% 0.0239 -0.1845)
OKLCHoklch(57.12% 0.186 277.4)
XYZxyz(23.3065, 17.3381, 74.0552)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6165E2 #E2DE61
analogous
#61A5E2 #6165E2 #9E61E2
triadic
#6165E2 #E26165 #65E261
tetradic
#6165E2 #E261A5 #E2DE61 #61E29E
square
#6165E2 #E261A5 #E2DE61 #61E29E
split-complementary
#6165E2 #E29E61 #A5E261
monochromatic
#1F23A9 #2D33D9 #6165E2 #9597EB #C8CAF5

Accessibility & contrast

On white

4.70
#6165E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#6165E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6165E2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6165E2#FFFFFF#000000##FFFFFF
##6165E21.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#006EDF
Tritanopia (blue-blind)
#0D829A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6165e2;
/* rgb */ color: rgb(97, 101, 226);
/* oklch */ color: oklch(57.1% 0.186 277.4);
Tailwind
colors: {
  custom: {
    50: '#9991ec',
    500: '#6165e2',
    950: '#000000',
  },
}
SCSS
$custom: #6165e2;
$custom-light: #9991ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6165e2",
  "rgb": {
    "r": 97,
    "g": 101,
    "b": 226
  },
  "hsl": {
    "h": 238.14,
    "s": 68.984,
    "l": 63.333
  },
  "oklch": {
    "l": 0.57121,
    "c": 0.18606,
    "h": 277.4
  },
  "luminance": 0.1734
}

Semantic roles & 50–950 ramp

primary
#6165E2
secondary
#E6E5B8
accent
#CB15D1
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6165E2

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

Preview Lab → · Contrast checker → · Palette generator →

#6165E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva