#4845CD#4845CD

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

Color values

HEX#4845CD
RGBrgb(72, 69, 205)
HSLhsl(241, 58%, 54%)
HSVhsv(241, 66%, 80%)
CMYKcmyk(64.9%, 66.3%, 0%, 19.6%)
CIE-LABlab(37.91, 42.63, -69.96)
CIE-LCHlch(37.91, 81.92, 301.35°)
OKLaboklab(48.25% 0.0233 -0.2018)
OKLCHoklch(48.25% 0.203 276.6)
XYZxyz(15.8165, 10.0404, 58.8503)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845CD #CACD45
analogous
#4586CD #4845CD #8C45CD
triadic
#4845CD #CD4845 #45CD48
tetradic
#4845CD #CD4586 #CACD45 #45CD8C
square
#4845CD #CD4586 #CACD45 #45CD8C
split-complementary
#4845CD #CD8C45 #86CD45
monochromatic
#222077 #302DA8 #4845CD #7775DA #A7A5E7

Accessibility & contrast

On white

6.98
#4845CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4845CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4845CD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845CD#FFFFFF#000000##FFFFFF
##4845CD1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD1
Deuteranopia (green-blind)
#0053CA
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4845cd;
/* rgb */ color: rgb(72, 69, 205);
/* oklch */ color: oklch(48.3% 0.203 276.6);
Tailwind
colors: {
  custom: {
    50: '#8b79dd',
    500: '#4845cd',
    950: '#000000',
  },
}
SCSS
$custom: #4845cd;
$custom-light: #8b79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4845cd",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 241.324,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48254,
    "c": 0.20318,
    "h": 276.6
  },
  "luminance": 0.10042
}

Semantic roles & 50–950 ramp

primary
#4845CD
secondary
#D3D49A
accent
#E147DD
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4845CD

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

Preview Lab → · Contrast checker → · Palette generator →

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