#6151CA#6151CA

#6151CA is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.9% C 0.180 H 284.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#6151CA
RGBrgb(97, 81, 202)
HSLhsl(248, 53%, 55%)
HSVhsv(248, 60%, 79%)
CMYKcmyk(52%, 59.9%, 0%, 20.8%)
CIE-LABlab(42.29, 38.66, -61.00)
CIE-LCHlch(42.29, 72.23, 302.37°)
OKLaboklab(51.86% 0.0442 -0.1748)
OKLCHoklch(51.86% 0.18 284.2)
XYZxyz(18.5297, 12.6895, 57.3386)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6151CA #BACA51
analogous
#517DCA #6151CA #9D51CA
triadic
#6151CA #CA6151 #51CA61
tetradic
#6151CA #CA517D #BACA51 #51CA9D
square
#6151CA #CA517D #BACA51 #51CA9D
split-complementary
#6151CA #CA9D51 #7DCA51
monochromatic
#31257B #4334AA #6151CA #8C80D8 #B6AFE7

Accessibility & contrast

On white

5.94
#6151CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6151CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6151CA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6151CA#FFFFFF#000000##FFFFFF
##6151CA1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#376D86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6151ca;
/* rgb */ color: rgb(97, 81, 202);
/* oklch */ color: oklch(51.9% 0.180 284.2);
Tailwind
colors: {
  custom: {
    50: '#9682db',
    500: '#6151ca',
    950: '#000000',
  },
}
SCSS
$custom: #6151ca;
$custom-light: #9682db;
$custom-dark: #000000;
JSON
{
  "hex": "#6151ca",
  "rgb": {
    "r": 97,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 247.934,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51859,
    "c": 0.18028,
    "h": 284.2
  },
  "luminance": 0.12691
}

Semantic roles & 50–950 ramp

primary
#6151CA
secondary
#CED5A2
accent
#DD4BC9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6151CA

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

Preview Lab → · Contrast checker → · Palette generator →

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