#6056DB#6056DB

#6056DB is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.9% C 0.196 H 280.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#6056DB
RGBrgb(96, 86, 219)
HSLhsl(245, 65%, 60%)
HSVhsv(245, 61%, 86%)
CMYKcmyk(56.2%, 60.7%, 0%, 14.1%)
CIE-LABlab(44.60, 40.76, -67.02)
CIE-LCHlch(44.60, 78.44, 301.31°)
OKLaboklab(53.92% 0.0372 -0.1925)
OKLCHoklch(53.92% 0.196 280.9)
XYZxyz(20.9339, 14.2555, 68.6526)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6056DB #D1DB56
analogous
#568FDB #6056DB #A256DB
triadic
#6056DB #DB6056 #56DB60
tetradic
#6056DB #DB568F #D1DB56 #56DBA2
square
#6056DB #DB568F #D1DB56 #56DBA2
split-complementary
#6056DB #DBA256 #8FDB56
monochromatic
#292097 #372BC9 #6056DB #8F88E6 #BFBBF0

Accessibility & contrast

On white

5.45
#6056DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6056DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6056DB
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6056DB#FFFFFF#000000##FFFFFF
##6056DB1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0065D8
Tritanopia (blue-blind)
#1E7690
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6056db;
/* rgb */ color: rgb(96, 86, 219);
/* oklch */ color: oklch(53.9% 0.196 280.9);
Tailwind
colors: {
  custom: {
    50: '#9886e7',
    500: '#6056db',
    950: '#000000',
  },
}
SCSS
$custom: #6056db;
$custom-light: #9886e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6056db",
  "rgb": {
    "r": 96,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 244.511,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53924,
    "c": 0.19604,
    "h": 280.9
  },
  "luminance": 0.14257
}

Semantic roles & 50–950 ramp

primary
#6056DB
secondary
#DCE0AD
accent
#E840DB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #6056DB

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

Preview Lab → · Contrast checker → · Palette generator →

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