#6051DB#6051DB

#6051DB is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 53.1% C 0.202 H 281.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#6051DB
RGBrgb(96, 81, 219)
HSLhsl(247, 66%, 59%)
HSVhsv(247, 63%, 86%)
CMYKcmyk(56.2%, 63%, 0%, 14.1%)
CIE-LABlab(43.48, 43.69, -68.83)
CIE-LCHlch(43.48, 81.53, 302.40°)
OKLaboklab(53.11% 0.0419 -0.1978)
OKLCHoklch(53.11% 0.202 281.9)
XYZxyz(20.5485, 13.4848, 68.5241)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6051DB #CCDB51
analogous
#5187DB #6051DB #A551DB
triadic
#6051DB #DB6051 #51DB60
tetradic
#6051DB #DB5187 #CCDB51 #51DBA5
square
#6051DB #DB5187 #CCDB51 #51DBA5
split-complementary
#6051DB #DBA551 #87DB51
monochromatic
#2B1E93 #3A29C6 #6051DB #8E84E5 #BDB6F0

Accessibility & contrast

On white

5.68
#6051DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#6051DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6051DB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6051DB#FFFFFF#000000##FFFFFF
##6051DB1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BDF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#1F738F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6051db;
/* rgb */ color: rgb(96, 81, 219);
/* oklch */ color: oklch(53.1% 0.202 281.9);
Tailwind
colors: {
  custom: {
    50: '#9883e7',
    500: '#6051db',
    950: '#000000',
  },
}
SCSS
$custom: #6051db;
$custom-light: #9883e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6051db",
  "rgb": {
    "r": 96,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 246.522,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53111,
    "c": 0.2022,
    "h": 281.9
  },
  "luminance": 0.13486
}

Semantic roles & 50–950 ramp

primary
#6051DB
secondary
#D9DFA9
accent
#E93FD6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6051DB

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

Preview Lab → · Contrast checker → · Palette generator →

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