#6051CB#6051CB

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

Color values

HEX#6051CB
RGBrgb(96, 81, 203)
HSLhsl(247, 54%, 56%)
HSVhsv(247, 60%, 80%)
CMYKcmyk(52.7%, 60.1%, 0%, 20.4%)
CIE-LABlab(42.28, 38.78, -61.60)
CIE-LCHlch(42.28, 72.79, 302.19°)
OKLaboklab(51.85% 0.0429 -0.1766)
OKLCHoklch(51.85% 0.182 283.6)
XYZxyz(18.5425, 12.6824, 57.9592)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6051CB #BCCB51
analogous
#517FCB #6051CB #9D51CB
triadic
#6051CB #CB6051 #51CB60
tetradic
#6051CB #CB517F #BCCB51 #51CB9D
square
#6051CB #CB517F #BCCB51 #51CB9D
split-complementary
#6051CB #CB9D51 #7FCB51
monochromatic
#30257C #4233AC #6051CB #8B80D9 #B6AFE7

Accessibility & contrast

On white

5.94
#6051CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6051CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6051CB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6051CB#FFFFFF#000000##FFFFFF
##6051CB1.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)
#0068CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#346E86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6051cb;
/* rgb */ color: rgb(96, 81, 203);
/* oklch */ color: oklch(51.9% 0.182 283.6);
Tailwind
colors: {
  custom: {
    50: '#9682dc',
    500: '#6051cb',
    950: '#000000',
  },
}
SCSS
$custom: #6051cb;
$custom-light: #9682dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6051cb",
  "rgb": {
    "r": 96,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 247.377,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51853,
    "c": 0.1817,
    "h": 283.6
  },
  "luminance": 0.12683
}

Semantic roles & 50–950 ramp

primary
#6051CB
secondary
#CFD5A3
accent
#DD4ACB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6051CB

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

Preview Lab → · Contrast checker → · Palette generator →

#6051CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva