#4845EE#4845EE

#4845EE is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.3% C 0.243 H 274.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#4845EE
RGBrgb(72, 69, 238)
HSLhsl(241, 83%, 60%)
HSVhsv(241, 71%, 93%)
CMYKcmyk(69.7%, 71%, 0%, 6.7%)
CIE-LABlab(40.90, 53.24, -83.91)
CIE-LCHlch(40.90, 99.38, 302.39°)
OKLaboklab(51.31% 0.0187 -0.2426)
OKLCHoklch(51.31% 0.243 274.4)
XYZxyz(20.2281, 11.8051, 82.0849)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845EE #EBEE45
analogous
#4597EE #4845EE #9C45EE
triadic
#4845EE #EE4845 #45EE48
tetradic
#4845EE #EE4597 #EBEE45 #45EE9C
square
#4845EE #EE4597 #EBEE45 #45EE9C
split-complementary
#4845EE #EE9C45 #97EE45
monochromatic
#120FA9 #1815E1 #4845EE #7F7DF3 #B6B5F8

Accessibility & contrast

On white

6.25
#4845EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4845EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4845EE
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845EE#FFFFFF#000000##FFFFFF
##4845EE1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068F3
Deuteranopia (green-blind)
#0058EB
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4845ee;
/* rgb */ color: rgb(72, 69, 238);
/* oklch */ color: oklch(51.3% 0.243 274.4);
Tailwind
colors: {
  custom: {
    50: '#917af5',
    500: '#4845ee',
    950: '#000000',
  },
}
SCSS
$custom: #4845ee;
$custom-light: #917af5;
$custom-dark: #000000;
JSON
{
  "hex": "#4845ee",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 238
  },
  "hsl": {
    "h": 241.065,
    "s": 83.251,
    "l": 60.196
  },
  "oklch": {
    "l": 0.51312,
    "c": 0.24335,
    "h": 274.4
  },
  "luminance": 0.11807
}

Semantic roles & 50–950 ramp

primary
#4845EE
secondary
#E7E8A7
accent
#E006DC
background
#F9F7FF
surface
#F2EEFF
border
#CCC9D7
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4845EE

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

Preview Lab → · Contrast checker → · Palette generator →

#4845EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva