#6146EB#6146EB

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

Color values

HEX#6146EB
RGBrgb(97, 70, 235)
HSLhsl(250, 80%, 60%)
HSVhsv(250, 70%, 92%)
CMYKcmyk(58.7%, 70.2%, 0%, 7.8%)
CIE-LABlab(42.64, 54.75, -79.30)
CIE-LCHlch(42.64, 96.36, 304.62°)
OKLaboklab(52.93% 0.05 -0.2285)
OKLCHoklch(52.93% 0.234 282.4)
XYZxyz(22.1107, 12.9184, 79.9095)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6146EB #D0EB46
analogous
#467EEB #6146EB #B346EB
triadic
#6146EB #EB6146 #46EB61
tetradic
#6146EB #EB467E #D0EB46 #46EBB3
square
#6146EB #EB467E #D0EB46 #46EBB3
split-complementary
#6146EB #EBB346 #7EEB46
monochromatic
#2A12A5 #3818DC #6146EB #907DF1 #BFB4F7

Accessibility & contrast

On white

5.86
#6146EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6146EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6146EB
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6146EB#FFFFFF#000000##FFFFFF
##6146EB1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6146eb;
/* rgb */ color: rgb(97, 70, 235);
/* oklch */ color: oklch(52.9% 0.234 282.4);
Tailwind
colors: {
  custom: {
    50: '#9c7cf3',
    500: '#6146eb',
    950: '#000000',
  },
}
SCSS
$custom: #6146eb;
$custom-light: #9c7cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#6146eb",
  "rgb": {
    "r": 97,
    "g": 70,
    "b": 235
  },
  "hsl": {
    "h": 249.818,
    "s": 80.488,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52929,
    "c": 0.23391,
    "h": 282.4
  },
  "luminance": 0.1292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6146EB

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

Preview Lab → · Contrast checker → · Palette generator →

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