#4845CA#4845CA

#4845CA is a mid, vivid blue. Relative luminance 0.099; OKLCH L 48.0% C 0.199 H 276.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4845CA
RGBrgb(72, 69, 202)
HSLhsl(241, 56%, 53%)
HSVhsv(241, 66%, 79%)
CMYKcmyk(64.4%, 65.8%, 0%, 20.8%)
CIE-LABlab(37.66, 41.64, -68.64)
CIE-LCHlch(37.66, 80.29, 301.24°)
OKLaboklab(47.99% 0.0236 -0.198)
OKLCHoklch(47.99% 0.199 276.8)
XYZxyz(15.4578, 9.8969, 56.9614)
Luminance0.0990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845CA #C7CA45
analogous
#4585CA #4845CA #8A45CA
triadic
#4845CA #CA4845 #45CA48
tetradic
#4845CA #CA4585 #C7CA45 #45CA8A
square
#4845CA #CA4585 #C7CA45 #45CA8A
split-complementary
#4845CA #CA8A45 #85CA45
monochromatic
#232174 #312FA3 #4845CA #7775D8 #A6A4E5

Accessibility & contrast

On white

7.05
#4845CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4845CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4845CA
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845CA#FFFFFF#000000##FFFFFF
##4845CA1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0053C7
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4845ca;
/* rgb */ color: rgb(72, 69, 202);
/* oklch */ color: oklch(48.0% 0.199 276.8);
Tailwind
colors: {
  custom: {
    50: '#8a79db',
    500: '#4845ca',
    950: '#000000',
  },
}
SCSS
$custom: #4845ca;
$custom-light: #8a79db;
$custom-dark: #000000;
JSON
{
  "hex": "#4845ca",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 241.353,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47988,
    "c": 0.19938,
    "h": 276.8
  },
  "luminance": 0.09898
}

Semantic roles & 50–950 ramp

primary
#4845CA
secondary
#D1D299
accent
#DF49DC
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4845CA

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

Preview Lab → · Contrast checker → · Palette generator →

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