#6165EA#6165EA

#6165EA is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.7% C 0.197 H 277.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#6165EA
RGBrgb(97, 101, 234)
HSLhsl(238, 77%, 65%)
HSVhsv(238, 59%, 92%)
CMYKcmyk(58.5%, 56.8%, 0%, 8.2%)
CIE-LABlab(49.24, 36.71, -67.97)
CIE-LCHlch(49.24, 77.25, 298.37°)
OKLaboklab(57.71% 0.024 -0.1951)
OKLCHoklch(57.71% 0.197 277)
XYZxyz(24.4299, 17.7875, 79.9719)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6165EA #EAE661
analogous
#61AAEA #6165EA #A161EA
triadic
#6165EA #EA6165 #65EA61
tetradic
#6165EA #EA61AA #EAE661 #61EAA1
square
#6165EA #EA61AA #EAE661 #61EAA1
split-complementary
#6165EA #EAA161 #AAEA61
monochromatic
#181DB8 #2B30E3 #6165EA #979AF1 #CDCEF8

Accessibility & contrast

On white

4.61
#6165EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#6165EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6165EA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6165EA#FFFFFF#000000##FFFFFF
##6165EA1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#006FE7
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6165ea;
/* rgb */ color: rgb(97, 101, 234);
/* oklch */ color: oklch(57.7% 0.197 277.0);
Tailwind
colors: {
  custom: {
    50: '#9a91f2',
    500: '#6165ea',
    950: '#000000',
  },
}
SCSS
$custom: #6165ea;
$custom-light: #9a91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6165ea",
  "rgb": {
    "r": 97,
    "g": 101,
    "b": 234
  },
  "hsl": {
    "h": 238.248,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57708,
    "c": 0.19661,
    "h": 277
  },
  "luminance": 0.17789
}

Semantic roles & 50–950 ramp

primary
#6165EA
secondary
#EBE9BC
accent
#D30DD9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6165EA

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

Preview Lab → · Contrast checker → · Palette generator →

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