#4845CC#4845CC

#4845CC is a mid, highly saturated blue. Relative luminance 0.100; OKLCH L 48.2% C 0.202 H 276.6°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#4845CC
RGBrgb(72, 69, 204)
HSLhsl(241, 57%, 54%)
HSVhsv(241, 66%, 80%)
CMYKcmyk(64.7%, 66.2%, 0%, 20%)
CIE-LABlab(37.83, 42.30, -69.52)
CIE-LCHlch(37.83, 81.38, 301.32°)
OKLaboklab(48.17% 0.0234 -0.2005)
OKLCHoklch(48.17% 0.202 276.6)
XYZxyz(15.6961, 9.9923, 58.2166)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845CC #C9CC45
analogous
#4585CC #4845CC #8B45CC
triadic
#4845CC #CC4845 #45CC48
tetradic
#4845CC #CC4585 #C9CC45 #45CC8B
square
#4845CC #CC4585 #C9CC45 #45CC8B
split-complementary
#4845CC #CC8B45 #85CC45
monochromatic
#222076 #302EA6 #4845CC #7775D9 #A7A5E6

Accessibility & contrast

On white

7.00
#4845CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4845CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4845CC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845CC#FFFFFF#000000##FFFFFF
##4845CC1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0053C9
Tritanopia (blue-blind)
#006882
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4845cc;
/* rgb */ color: rgb(72, 69, 204);
/* oklch */ color: oklch(48.2% 0.202 276.6);
Tailwind
colors: {
  custom: {
    50: '#8a79dd',
    500: '#4845cc',
    950: '#000000',
  },
}
SCSS
$custom: #4845cc;
$custom-light: #8a79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4845cc",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 241.333,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.48165,
    "c": 0.20191,
    "h": 276.6
  },
  "luminance": 0.09994
}

Semantic roles & 50–950 ramp

primary
#4845CC
secondary
#D2D399
accent
#E048DD
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4845CC

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

Preview Lab → · Contrast checker → · Palette generator →

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