#4845CF#4845CF

#4845CF is a mid, highly saturated blue. Relative luminance 0.101; OKLCH L 48.4% C 0.206 H 276.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#4845CF
RGBrgb(72, 69, 207)
HSLhsl(241, 59%, 54%)
HSVhsv(241, 67%, 81%)
CMYKcmyk(65.2%, 66.7%, 0%, 18.8%)
CIE-LABlab(38.09, 43.28, -70.83)
CIE-LCHlch(38.09, 83.01, 301.43°)
OKLaboklab(48.43% 0.023 -0.2044)
OKLCHoklch(48.43% 0.206 276.4)
XYZxyz(16.0594, 10.1376, 60.1298)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845CF #CCCF45
analogous
#4587CF #4845CF #8D45CF
triadic
#4845CF #CF4845 #45CF48
tetradic
#4845CF #CF4587 #CCCF45 #45CF8D
square
#4845CF #CF4587 #CCCF45 #45CF8D
split-complementary
#4845CF #CF8D45 #87CF45
monochromatic
#21207A #2F2CAB #4845CF #7876DC #A8A6E8

Accessibility & contrast

On white

6.94
#4845CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4845CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4845CF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845CF#FFFFFF#000000##FFFFFF
##4845CF1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0054CC
Tritanopia (blue-blind)
#006984
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4845cf;
/* rgb */ color: rgb(72, 69, 207);
/* oklch */ color: oklch(48.4% 0.206 276.4);
Tailwind
colors: {
  custom: {
    50: '#8b79df',
    500: '#4845cf',
    950: '#000000',
  },
}
SCSS
$custom: #4845cf;
$custom-light: #8b79df;
$custom-dark: #000000;
JSON
{
  "hex": "#4845cf",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 241.304,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48433,
    "c": 0.20568,
    "h": 276.4
  },
  "luminance": 0.10139
}

Semantic roles & 50–950 ramp

primary
#4845CF
secondary
#D4D59B
accent
#E246DF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4845CF

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

Preview Lab → · Contrast checker → · Palette generator →

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