#4846EF#4846EF

#4846EF is a mid, highly saturated blue. Relative luminance 0.120; OKLCH L 51.5% C 0.244 H 274.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#4846EF
RGBrgb(72, 70, 239)
HSLhsl(241, 84%, 61%)
HSVhsv(241, 71%, 94%)
CMYKcmyk(69.9%, 70.7%, 0%, 6.3%)
CIE-LABlab(41.20, 53.01, -84.00)
CIE-LCHlch(41.20, 99.32, 302.26°)
OKLaboklab(51.55% 0.018 -0.2429)
OKLCHoklch(51.55% 0.244 274.2)
XYZxyz(20.4375, 11.9881, 82.8815)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4846EF #EDEF46
analogous
#4698EF #4846EF #9C46EF
triadic
#4846EF #EF4846 #46EF48
tetradic
#4846EF #EF4698 #EDEF46 #46EF9C
square
#4846EF #EF4698 #EDEF46 #46EF9C
split-complementary
#4846EF #EF9C46 #98EF46
monochromatic
#110FAC #1614E4 #4846EF #807EF4 #B7B7F9

Accessibility & contrast

On white

6.18
#4846EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4846EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4846EF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4846EF#FFFFFF#000000##FFFFFF
##4846EF1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069F4
Deuteranopia (green-blind)
#0059EC
Tritanopia (blue-blind)
#007596
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4846ef;
/* rgb */ color: rgb(72, 70, 239);
/* oklch */ color: oklch(51.5% 0.244 274.2);
Tailwind
colors: {
  custom: {
    50: '#917bf6',
    500: '#4846ef',
    950: '#000000',
  },
}
SCSS
$custom: #4846ef;
$custom-light: #917bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#4846ef",
  "rgb": {
    "r": 72,
    "g": 70,
    "b": 239
  },
  "hsl": {
    "h": 240.71,
    "s": 84.08,
    "l": 60.588
  },
  "oklch": {
    "l": 0.5155,
    "c": 0.24355,
    "h": 274.2
  },
  "luminance": 0.1199
}

Semantic roles & 50–950 ramp

primary
#4846EF
secondary
#E8E9A8
accent
#E105DE
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4846EF

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

Preview Lab → · Contrast checker → · Palette generator →

#4846EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva