#6164EB#6164EB

#6164EB is a mid, vivid blue. Relative luminance 0.177; OKLCH L 57.6% C 0.199 H 277.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#6164EB
RGBrgb(97, 100, 235)
HSLhsl(239, 78%, 65%)
HSVhsv(239, 59%, 92%)
CMYKcmyk(58.7%, 57.4%, 0%, 7.8%)
CIE-LABlab(49.07, 37.63, -68.80)
CIE-LCHlch(49.07, 78.42, 298.68°)
OKLaboklab(57.61% 0.0249 -0.1976)
OKLCHoklch(57.61% 0.199 277.2)
XYZxyz(24.4775, 17.6521, 80.6985)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6164EB #EBE861
analogous
#61A9EB #6164EB #A361EB
triadic
#6164EB #EB6164 #64EB61
tetradic
#6164EB #EB61A9 #EBE861 #61EBA3
square
#6164EB #EB61A9 #EBE861 #61EBA3
split-complementary
#6164EB #EBA361 #A9EB61
monochromatic
#181BBA #2B2FE4 #6164EB #9799F2 #CECFF9

Accessibility & contrast

On white

4.63
#6164EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#6164EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6164EB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6164EB#FFFFFF#000000##FFFFFF
##6164EB1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6164eb;
/* rgb */ color: rgb(97, 100, 235);
/* oklch */ color: oklch(57.6% 0.199 277.2);
Tailwind
colors: {
  custom: {
    50: '#9a90f2',
    500: '#6164eb',
    950: '#000000',
  },
}
SCSS
$custom: #6164eb;
$custom-light: #9a90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6164eb",
  "rgb": {
    "r": 97,
    "g": 100,
    "b": 235
  },
  "hsl": {
    "h": 238.696,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57608,
    "c": 0.19916,
    "h": 277.2
  },
  "luminance": 0.17654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6164EB

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

Preview Lab → · Contrast checker → · Palette generator →

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