#6165CF#6165CF

#6165CF is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.8% C 0.160 H 278.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6165CF
RGBrgb(97, 101, 207)
HSLhsl(238, 53%, 60%)
HSVhsv(238, 53%, 81%)
CMYKcmyk(53.1%, 51.2%, 0%, 18.8%)
CIE-LABlab(47.43, 28.09, -55.58)
CIE-LCHlch(47.43, 62.27, 296.82°)
OKLaboklab(55.79% 0.0229 -0.1587)
OKLCHoklch(55.79% 0.16 278.2)
XYZxyz(20.8424, 16.3524, 61.0774)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6165CF #CFCB61
analogous
#619CCF #6165CF #9461CF
triadic
#6165CF #CF6165 #65CF61
tetradic
#6165CF #CF619C #CFCB61 #61CF94
square
#6165CF #CF619C #CFCB61 #61CF94
split-complementary
#6165CF #CF9461 #9CCF61
monochromatic
#2A2E8B #393DBA #6165CF #9093DD #BFC1EC

Accessibility & contrast

On white

4.92
#6165CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#6165CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6165CF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6165CF#FFFFFF#000000##FFFFFF
##6165CF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#1F6CCD
Tritanopia (blue-blind)
#2F7D90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6165cf;
/* rgb */ color: rgb(97, 101, 207);
/* oklch */ color: oklch(55.8% 0.160 278.2);
Tailwind
colors: {
  custom: {
    50: '#9690de',
    500: '#6165cf',
    950: '#000000',
  },
}
SCSS
$custom: #6165cf;
$custom-light: #9690de;
$custom-dark: #000000;
JSON
{
  "hex": "#6165cf",
  "rgb": {
    "r": 97,
    "g": 101,
    "b": 207
  },
  "hsl": {
    "h": 237.818,
    "s": 53.398,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55787,
    "c": 0.16033,
    "h": 278.2
  },
  "luminance": 0.16354
}

Semantic roles & 50–950 ramp

primary
#6165CF
secondary
#DBDAB1
accent
#D74BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6165CF

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

Preview Lab → · Contrast checker → · Palette generator →

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