#6048DB#6048DB

#6048DB is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.7% C 0.213 H 283.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6048DB
RGBrgb(96, 72, 219)
HSLhsl(250, 67%, 57%)
HSVhsv(250, 67%, 86%)
CMYKcmyk(56.2%, 67.1%, 0%, 14.1%)
CIE-LABlab(41.59, 48.80, -71.93)
CIE-LCHlch(41.59, 86.92, 304.15°)
OKLaboklab(51.74% 0.0498 -0.2069)
OKLCHoklch(51.74% 0.213 283.5)
XYZxyz(19.9235, 12.2348, 68.3158)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6048DB #C3DB48
analogous
#487ADB #6048DB #AA48DB
triadic
#6048DB #DB6048 #48DB60
tetradic
#6048DB #DB487A #C3DB48 #48DBAA
square
#6048DB #DB487A #C3DB48 #48DBAA
split-complementary
#6048DB #DBAA48 #7ADB48
monochromatic
#2E1C8D #3F26C0 #6048DB #8C7BE5 #B9AEEF

Accessibility & contrast

On white

6.09
#6048DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6048DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6048DB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6048DB#FFFFFF#000000##FFFFFF
##6048DB1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#216E8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6048db;
/* rgb */ color: rgb(96, 72, 219);
/* oklch */ color: oklch(51.7% 0.213 283.5);
Tailwind
colors: {
  custom: {
    50: '#997de7',
    500: '#6048db',
    950: '#000000',
  },
}
SCSS
$custom: #6048db;
$custom-light: #997de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6048db",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 249.796,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51737,
    "c": 0.21283,
    "h": 283.5
  },
  "luminance": 0.12236
}

Semantic roles & 50–950 ramp

primary
#6048DB
secondary
#D4DDA2
accent
#EA3ECE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6048DB

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

Preview Lab → · Contrast checker → · Palette generator →

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