#6051DF#6051DF

#6051DF is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.4% C 0.207 H 281.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6051DF
RGBrgb(96, 81, 223)
HSLhsl(246, 69%, 60%)
HSVhsv(246, 64%, 87%)
CMYKcmyk(57%, 63.7%, 0%, 12.5%)
CIE-LABlab(43.80, 44.92, -70.60)
CIE-LCHlch(43.80, 83.68, 302.46°)
OKLaboklab(53.44% 0.0415 -0.203)
OKLCHoklch(53.44% 0.207 281.6)
XYZxyz(21.0814, 13.6980, 71.3308)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6051DF #D0DF51
analogous
#5189DF #6051DF #A751DF
triadic
#6051DF #DF6051 #51DF60
tetradic
#6051DF #DF5189 #D0DF51 #51DFA7
square
#6051DF #DF5189 #D0DF51 #51DFA7
split-complementary
#6051DF #DFA751 #89DF51
monochromatic
#291C99 #3726CD #6051DF #8F85E9 #BEB8F2

Accessibility & contrast

On white

5.62
#6051DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6051DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6051DF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6051DF#FFFFFF#000000##FFFFFF
##6051DF1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE3
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#177591
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6051df;
/* rgb */ color: rgb(96, 81, 223);
/* oklch */ color: oklch(53.4% 0.207 281.6);
Tailwind
colors: {
  custom: {
    50: '#9983ea',
    500: '#6051df',
    950: '#000000',
  },
}
SCSS
$custom: #6051df;
$custom-light: #9983ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6051df",
  "rgb": {
    "r": 96,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 246.338,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53435,
    "c": 0.20722,
    "h": 281.6
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

primary
#6051DF
secondary
#DCE1AA
accent
#EC3CD9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6051DF

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

Preview Lab → · Contrast checker → · Palette generator →

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