#6046EB#6046EB

#6046EB is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.8% C 0.234 H 282.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#6046EB
RGBrgb(96, 70, 235)
HSLhsl(249, 80%, 60%)
HSVhsv(249, 70%, 92%)
CMYKcmyk(59.1%, 70.2%, 0%, 7.8%)
CIE-LABlab(42.56, 54.61, -79.44)
CIE-LCHlch(42.56, 96.40, 304.51°)
OKLaboklab(52.85% 0.0487 -0.2289)
OKLCHoklch(52.85% 0.234 282)
XYZxyz(22.0047, 12.8638, 79.9046)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6046EB #D1EB46
analogous
#467EEB #6046EB #B346EB
triadic
#6046EB #EB6046 #46EB60
tetradic
#6046EB #EB467E #D1EB46 #46EBB3
square
#6046EB #EB467E #D1EB46 #46EBB3
split-complementary
#6046EB #EBB346 #7EEB46
monochromatic
#2912A5 #3718DC #6046EB #8F7DF1 #BFB4F7

Accessibility & contrast

On white

5.88
#6046EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#6046EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6046EB
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6046EB#FFFFFF#000000##FFFFFF
##6046EB1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF0
Deuteranopia (green-blind)
#005FE8
Tritanopia (blue-blind)
#007394
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6046eb;
/* rgb */ color: rgb(96, 70, 235);
/* oklch */ color: oklch(52.8% 0.234 282.0);
Tailwind
colors: {
  custom: {
    50: '#9b7cf3',
    500: '#6046eb',
    950: '#000000',
  },
}
SCSS
$custom: #6046eb;
$custom-light: #9b7cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6046eb",
  "rgb": {
    "r": 96,
    "g": 70,
    "b": 235
  },
  "hsl": {
    "h": 249.455,
    "s": 80.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5285,
    "c": 0.23404,
    "h": 282
  },
  "luminance": 0.12865
}

Semantic roles & 50–950 ramp

primary
#6046EB
secondary
#DCE6A7
accent
#F731D8
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6046EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6046EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva