#6051DC#6051DC

#6051DC is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.2% C 0.203 H 281.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6051DC
RGBrgb(96, 81, 220)
HSLhsl(246, 67%, 59%)
HSVhsv(246, 63%, 86%)
CMYKcmyk(56.4%, 63.2%, 0%, 13.7%)
CIE-LABlab(43.56, 44.00, -69.28)
CIE-LCHlch(43.56, 82.07, 302.42°)
OKLaboklab(53.19% 0.0418 -0.1991)
OKLCHoklch(53.19% 0.203 281.8)
XYZxyz(20.6806, 13.5376, 69.2195)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6051DC #CDDC51
analogous
#5188DC #6051DC #A651DC
triadic
#6051DC #DC6051 #51DC60
tetradic
#6051DC #DC5188 #CDDC51 #51DCA6
square
#6051DC #DC5188 #CDDC51 #51DCA6
split-complementary
#6051DC #DCA651 #88DC51
monochromatic
#2B1E95 #3928C8 #6051DC #8F84E6 #BDB7F0

Accessibility & contrast

On white

5.66
#6051DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6051DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6051DC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6051DC#FFFFFF#000000##FFFFFF
##6051DC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#1D748F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6051dc;
/* rgb */ color: rgb(96, 81, 220);
/* oklch */ color: oklch(53.2% 0.203 281.8);
Tailwind
colors: {
  custom: {
    50: '#9883e8',
    500: '#6051dc',
    950: '#000000',
  },
}
SCSS
$custom: #6051dc;
$custom-light: #9883e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6051dc",
  "rgb": {
    "r": 96,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 246.475,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53192,
    "c": 0.20346,
    "h": 281.8
  },
  "luminance": 0.13539
}

Semantic roles & 50–950 ramp

primary
#6051DC
secondary
#DAE0A9
accent
#E93ED7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6051DC

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

Preview Lab → · Contrast checker → · Palette generator →

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