#6151FF#6151FF

#6151FF is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 56.2% C 0.246 H 279.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6151FF
RGBrgb(97, 81, 255)
HSLhsl(246, 100%, 66%)
HSVhsv(246, 68%, 100%)
CMYKcmyk(62%, 68.2%, 0%, 0%)
CIE-LABlab(46.50, 54.81, -84.17)
CIE-LCHlch(46.50, 100.45, 303.07°)
OKLaboklab(56.22% 0.0388 -0.2428)
OKLCHoklch(56.22% 0.246 279.1)
XYZxyz(25.9164, 15.6442, 96.2423)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151FF #EFFF51
analogous
#5198FF #6151FF #B851FF
triadic
#6151FF #FF6151 #51FF61
tetradic
#6151FF #FF5198 #EFFF51 #51FFB8
square
#6151FF #FF5198 #EFFF51 #51FFB8
split-complementary
#6151FF #FFB851 #98FF51
monochromatic
#1400D6 #2914FF #6151FF #998EFF #D0CBFF

Accessibility & contrast

On white

5.09
#6151FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6151FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151FF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151FF#FFFFFF#000000##FFFFFF
##6151FF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FF
Deuteranopia (green-blind)
#0067FC
Tritanopia (blue-blind)
#0080A2
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6151ff;
/* rgb */ color: rgb(97, 81, 255);
/* oklch */ color: oklch(56.2% 0.246 279.1);
Tailwind
colors: {
  custom: {
    50: '#9f84ff',
    500: '#6151ff',
    950: '#000000',
  },
}
SCSS
$custom: #6151ff;
$custom-light: #9f84ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6151ff",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 255
  },
  "hsl": {
    "h": 245.517,
    "s": 100,
    "l": 65.882
  },
  "oklch": {
    "l": 0.5622,
    "c": 0.24587,
    "h": 279.1
  },
  "luminance": 0.15646
}

Semantic roles & 50–950 ramp

primary
#6151FF
secondary
#EDF3B9
accent
#E600D0
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6151FF

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

Preview Lab → · Contrast checker → · Palette generator →

#6151FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva