#4845EB#4845EB

#4845EB is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 51.0% C 0.240 H 274.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4845EB
RGBrgb(72, 69, 235)
HSLhsl(241, 81%, 60%)
HSVhsv(241, 71%, 92%)
CMYKcmyk(69.4%, 70.6%, 0%, 7.8%)
CIE-LABlab(40.62, 52.29, -82.68)
CIE-LCHlch(40.62, 97.83, 302.31°)
OKLaboklab(51.03% 0.0192 -0.239)
OKLCHoklch(51.03% 0.24 274.6)
XYZxyz(19.7910, 11.6302, 79.7830)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845EB #E8EB45
analogous
#4595EB #4845EB #9B45EB
triadic
#4845EB #EB4845 #45EB48
tetradic
#4845EB #EB4595 #E8EB45 #45EB9B
square
#4845EB #EB4595 #E8EB45 #45EB9B
split-complementary
#4845EB #EB9B45 #95EB45
monochromatic
#1412A4 #1B18DB #4845EB #7E7CF1 #B5B4F7

Accessibility & contrast

On white

6.31
#4845EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4845EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4845EB
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845EB#FFFFFF#000000##FFFFFF
##4845EB1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067F0
Deuteranopia (green-blind)
#0058E8
Tritanopia (blue-blind)
#007393
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4845eb;
/* rgb */ color: rgb(72, 69, 235);
/* oklch */ color: oklch(51.0% 0.240 274.6);
Tailwind
colors: {
  custom: {
    50: '#917af3',
    500: '#4845eb',
    950: '#000000',
  },
}
SCSS
$custom: #4845eb;
$custom-light: #917af3;
$custom-dark: #000000;
JSON
{
  "hex": "#4845eb",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 235
  },
  "hsl": {
    "h": 241.084,
    "s": 80.583,
    "l": 59.608
  },
  "oklch": {
    "l": 0.51026,
    "c": 0.23981,
    "h": 274.6
  },
  "luminance": 0.11632
}

Semantic roles & 50–950 ramp

primary
#4845EB
secondary
#E5E6A6
accent
#F731F3
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0F0917
muted
#7E7B85

Preview Lab

Preview with #4845EB

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

Preview Lab → · Contrast checker → · Palette generator →

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