#4845CE#4845CE

#4845CE is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.3% C 0.204 H 276.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#4845CE
RGBrgb(72, 69, 206)
HSLhsl(241, 58%, 54%)
HSVhsv(241, 67%, 81%)
CMYKcmyk(65%, 66.5%, 0%, 19.2%)
CIE-LABlab(38.00, 42.95, -70.39)
CIE-LCHlch(38.00, 82.46, 301.39°)
OKLaboklab(48.34% 0.0231 -0.2031)
OKLCHoklch(48.34% 0.204 276.5)
XYZxyz(15.9376, 10.0888, 59.4880)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845CE #CBCE45
analogous
#4587CE #4845CE #8D45CE
triadic
#4845CE #CE4845 #45CE48
tetradic
#4845CE #CE4587 #CBCE45 #45CE8D
square
#4845CE #CE4587 #CBCE45 #45CE8D
split-complementary
#4845CE #CE8D45 #87CE45
monochromatic
#222079 #2F2DA9 #4845CE #7875DB #A7A6E8

Accessibility & contrast

On white

6.96
#4845CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4845CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4845CE
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845CE#FFFFFF#000000##FFFFFF
##4845CE1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD2
Deuteranopia (green-blind)
#0053CB
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4845ce;
/* rgb */ color: rgb(72, 69, 206);
/* oklch */ color: oklch(48.3% 0.204 276.5);
Tailwind
colors: {
  custom: {
    50: '#8b79de',
    500: '#4845ce',
    950: '#000000',
  },
}
SCSS
$custom: #4845ce;
$custom-light: #8b79de;
$custom-dark: #000000;
JSON
{
  "hex": "#4845ce",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 241.314,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48344,
    "c": 0.20443,
    "h": 276.5
  },
  "luminance": 0.1009
}

Semantic roles & 50–950 ramp

primary
#4845CE
secondary
#D3D59A
accent
#E246DE
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4845CE

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

Preview Lab → · Contrast checker → · Palette generator →

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