#4845CB#4845CB

#4845CB is a mid, highly saturated blue. Relative luminance 0.099; OKLCH L 48.1% C 0.201 H 276.7°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4845CB
RGBrgb(72, 69, 203)
HSLhsl(241, 56%, 53%)
HSVhsv(241, 66%, 80%)
CMYKcmyk(64.5%, 66%, 0%, 20.4%)
CIE-LABlab(37.74, 41.97, -69.08)
CIE-LCHlch(37.74, 80.83, 301.28°)
OKLaboklab(48.08% 0.0235 -0.1993)
OKLCHoklch(48.08% 0.201 276.7)
XYZxyz(15.5766, 9.9445, 57.5869)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845CB #C8CB45
analogous
#4585CB #4845CB #8B45CB
triadic
#4845CB #CB4845 #45CB48
tetradic
#4845CB #CB4585 #C8CB45 #45CB8B
square
#4845CB #CB4585 #C8CB45 #45CB8B
split-complementary
#4845CB #CB8B45 #85CB45
monochromatic
#232175 #312EA5 #4845CB #7775D8 #A6A5E6

Accessibility & contrast

On white

7.03
#4845CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4845CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4845CB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845CB#FFFFFF#000000##FFFFFF
##4845CB1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4845cb;
/* rgb */ color: rgb(72, 69, 203);
/* oklch */ color: oklch(48.1% 0.201 276.7);
Tailwind
colors: {
  custom: {
    50: '#8a79dc',
    500: '#4845cb',
    950: '#000000',
  },
}
SCSS
$custom: #4845cb;
$custom-light: #8a79dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4845cb",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 241.343,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.48077,
    "c": 0.20065,
    "h": 276.7
  },
  "luminance": 0.09946
}

Semantic roles & 50–950 ramp

primary
#4845CB
secondary
#D1D399
accent
#E048DC
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4845CB

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

Preview Lab → · Contrast checker → · Palette generator →

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