#6165EB#6165EB

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

Color values

HEX#6165EB
RGBrgb(97, 101, 235)
HSLhsl(238, 78%, 65%)
HSVhsv(238, 59%, 92%)
CMYKcmyk(58.7%, 57%, 0%, 7.8%)
CIE-LABlab(49.31, 37.03, -68.42)
CIE-LCHlch(49.31, 77.80, 298.42°)
OKLaboklab(57.78% 0.024 -0.1965)
OKLCHoklch(57.78% 0.198 277)
XYZxyz(24.5740, 17.8451, 80.7306)
Luminance0.1785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6165EB #EBE761
analogous
#61AAEB #6165EB #A261EB
triadic
#6165EB #EB6165 #65EB61
tetradic
#6165EB #EB61AA #EBE761 #61EBA2
square
#6165EB #EB61AA #EBE761 #61EBA2
split-complementary
#6165EB #EBA261 #AAEB61
monochromatic
#181CBA #2B30E4 #6165EB #979AF2 #CECFF9

Accessibility & contrast

On white

4.60
#6165EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#6165EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6165EB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6165EB#FFFFFF#000000##FFFFFF
##6165EB1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6165eb;
/* rgb */ color: rgb(97, 101, 235);
/* oklch */ color: oklch(57.8% 0.198 277.0);
Tailwind
colors: {
  custom: {
    50: '#9a91f2',
    500: '#6165eb',
    950: '#000000',
  },
}
SCSS
$custom: #6165eb;
$custom-light: #9a91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6165eb",
  "rgb": {
    "r": 97,
    "g": 101,
    "b": 235
  },
  "hsl": {
    "h": 238.261,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57783,
    "c": 0.19793,
    "h": 277
  },
  "luminance": 0.17847
}

Semantic roles & 50–950 ramp

primary
#6165EB
secondary
#EBEABD
accent
#D40CDA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6165EB

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

Preview Lab → · Contrast checker → · Palette generator →

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