#6165E7#6165E7

#6165E7 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.5% C 0.193 H 277.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#6165E7
RGBrgb(97, 101, 231)
HSLhsl(238, 74%, 64%)
HSVhsv(238, 58%, 91%)
CMYKcmyk(58%, 56.3%, 0%, 9.4%)
CIE-LABlab(49.03, 35.75, -66.62)
CIE-LCHlch(49.03, 75.61, 298.22°)
OKLaboklab(57.49% 0.0239 -0.1912)
OKLCHoklch(57.49% 0.193 277.1)
XYZxyz(24.0026, 17.6165, 77.7213)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6165E7 #E7E361
analogous
#61A8E7 #6165E7 #A061E7
triadic
#6165E7 #E76165 #65E761
tetradic
#6165E7 #E761A8 #E7E361 #61E7A0
square
#6165E7 #E761A8 #E7E361 #61E7A0
split-complementary
#6165E7 #E7A061 #A8E761
monochromatic
#1B20B2 #2C31DF #6165E7 #9699EF #CBCDF7

Accessibility & contrast

On white

4.64
#6165E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#6165E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6165E7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6165E7#FFFFFF#000000##FFFFFF
##6165E71.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#00849C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6165e7;
/* rgb */ color: rgb(97, 101, 231);
/* oklch */ color: oklch(57.5% 0.193 277.1);
Tailwind
colors: {
  custom: {
    50: '#9991ef',
    500: '#6165e7',
    950: '#000000',
  },
}
SCSS
$custom: #6165e7;
$custom-light: #9991ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6165e7",
  "rgb": {
    "r": 97,
    "g": 101,
    "b": 231
  },
  "hsl": {
    "h": 238.209,
    "s": 73.626,
    "l": 64.314
  },
  "oklch": {
    "l": 0.57486,
    "c": 0.19268,
    "h": 277.1
  },
  "luminance": 0.17618
}

Semantic roles & 50–950 ramp

primary
#6165E7
secondary
#E9E8BB
accent
#D010D6
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6165E7

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

Preview Lab → · Contrast checker → · Palette generator →

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