#6048E1#6048E1

#6048E1 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.3% C 0.220 H 282.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6048E1
RGBrgb(96, 72, 225)
HSLhsl(249, 72%, 58%)
HSVhsv(249, 68%, 88%)
CMYKcmyk(57.3%, 68%, 0%, 11.8%)
CIE-LABlab(42.09, 50.58, -74.54)
CIE-LCHlch(42.09, 90.08, 304.16°)
OKLaboklab(52.25% 0.0489 -0.2146)
OKLCHoklch(52.25% 0.22 282.8)
XYZxyz(20.7276, 12.5564, 72.5510)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6048E1 #C9E148
analogous
#487CE1 #6048E1 #AD48E1
triadic
#6048E1 #E16048 #48E160
tetradic
#6048E1 #E1487C #C9E148 #48E1AD
square
#6048E1 #E1487C #C9E148 #48E1AD
split-complementary
#6048E1 #E1AD48 #7CE148
monochromatic
#2C1996 #3C21CB #6048E1 #8E7DEA #BBB1F2

Accessibility & contrast

On white

5.98
#6048E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6048E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6048E1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6048E1#FFFFFF#000000##FFFFFF
##6048E11.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#15708F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6048e1;
/* rgb */ color: rgb(96, 72, 225);
/* oklch */ color: oklch(52.3% 0.220 282.8);
Tailwind
colors: {
  custom: {
    50: '#9a7dec',
    500: '#6048e1',
    950: '#000000',
  },
}
SCSS
$custom: #6048e1;
$custom-light: #9a7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6048e1",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 249.412,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52251,
    "c": 0.22007,
    "h": 282.8
  },
  "luminance": 0.12558
}

Semantic roles & 50–950 ramp

primary
#6048E1
secondary
#D7E1A4
accent
#EF39D2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6048E1

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

Preview Lab → · Contrast checker → · Palette generator →

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