#6165DC#6165DC

#6165DC is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.7% C 0.178 H 277.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6165DC
RGBrgb(97, 101, 220)
HSLhsl(238, 64%, 62%)
HSVhsv(238, 56%, 86%)
CMYKcmyk(55.9%, 54.1%, 0%, 13.7%)
CIE-LABlab(48.28, 32.23, -61.62)
CIE-LCHlch(48.28, 69.54, 297.61°)
OKLaboklab(56.69% 0.0237 -0.1765)
OKLCHoklch(56.69% 0.178 277.6)
XYZxyz(22.4976, 17.0145, 69.7949)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6165DC #DCD861
analogous
#61A2DC #6165DC #9B61DC
triadic
#6165DC #DC6165 #65DC61
tetradic
#6165DC #DC61A2 #DCD861 #61DC9B
square
#6165DC #DC61A2 #DCD861 #61DC9B
split-complementary
#6165DC #DC9B61 #A2DC61
monochromatic
#23279F #2F34D1 #6165DC #9396E7 #C5C7F2

Accessibility & contrast

On white

4.77
#6165DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#6165DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6165DC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6165DC#FFFFFF#000000##FFFFFF
##6165DC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1778E0
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#1D8097
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6165dc;
/* rgb */ color: rgb(97, 101, 220);
/* oklch */ color: oklch(56.7% 0.178 277.6);
Tailwind
colors: {
  custom: {
    50: '#9891e8',
    500: '#6165dc',
    950: '#000000',
  },
}
SCSS
$custom: #6165dc;
$custom-light: #9891e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6165dc",
  "rgb": {
    "r": 97,
    "g": 101,
    "b": 220
  },
  "hsl": {
    "h": 238.049,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.5669,
    "c": 0.17805,
    "h": 277.6
  },
  "luminance": 0.17016
}

Semantic roles & 50–950 ramp

primary
#6165DC
secondary
#E3E2B6
accent
#C61ACC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6165DC

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

Preview Lab → · Contrast checker → · Palette generator →

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