#6151F3#6151F3

#6151F3 is a mid, highly saturated blue. Relative luminance 0.149; OKLCH L 55.2% C 0.232 H 280.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#6151F3
RGBrgb(97, 81, 243)
HSLhsl(246, 87%, 64%)
HSVhsv(246, 67%, 95%)
CMYKcmyk(60.1%, 66.7%, 0%, 4.7%)
CIE-LABlab(45.49, 51.18, -79.13)
CIE-LCHlch(45.49, 94.24, 302.89°)
OKLaboklab(55.18% 0.0405 -0.228)
OKLCHoklch(55.18% 0.232 280.1)
XYZxyz(24.0447, 14.8955, 86.3847)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151F3 #E3F351
analogous
#5192F3 #6151F3 #B251F3
triadic
#6151F3 #F36151 #51F361
tetradic
#6151F3 #F35192 #E3F351 #51F3B2
square
#6151F3 #F35192 #E3F351 #51F3B2
split-complementary
#6151F3 #F3B251 #92F351
monochromatic
#1E0DBD #2D18EF #6151F3 #958AF7 #C9C4FB

Accessibility & contrast

On white

5.28
#6151F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#6151F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151F3
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151F3#FFFFFF#000000##FFFFFF
##6151F31.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F8
Deuteranopia (green-blind)
#0065F0
Tritanopia (blue-blind)
#007B9B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6151f3;
/* rgb */ color: rgb(97, 81, 243);
/* oklch */ color: oklch(55.2% 0.232 280.1);
Tailwind
colors: {
  custom: {
    50: '#9d83f8',
    500: '#6151f3',
    950: '#000000',
  },
}
SCSS
$custom: #6151f3;
$custom-light: #9d83f8;
$custom-dark: #000000;
JSON
{
  "hex": "#6151f3",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 243
  },
  "hsl": {
    "h": 245.926,
    "s": 87.097,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55181,
    "c": 0.23158,
    "h": 280.1
  },
  "luminance": 0.14897
}

Semantic roles & 50–950 ramp

primary
#6151F3
secondary
#E7EDB3
accent
#E402CD
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6151F3

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

Preview Lab → · Contrast checker → · Palette generator →

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