#4845C8#4845C8

#4845C8 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.8% C 0.197 H 276.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4845C8
RGBrgb(72, 69, 200)
HSLhsl(241, 54%, 53%)
HSVhsv(241, 66%, 78%)
CMYKcmyk(64%, 65.5%, 0%, 21.6%)
CIE-LABlab(37.49, 40.99, -67.76)
CIE-LCHlch(37.49, 79.19, 301.17°)
OKLaboklab(47.81% 0.0238 -0.1954)
OKLCHoklch(47.81% 0.197 276.9)
XYZxyz(15.2225, 9.8028, 55.7223)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845C8 #C5C845
analogous
#4583C8 #4845C8 #8945C8
triadic
#4845C8 #C84845 #45C848
tetradic
#4845C8 #C84583 #C5C845 #45C889
square
#4845C8 #C84583 #C5C845 #45C889
split-complementary
#4845C8 #C88945 #83C845
monochromatic
#232171 #322FA0 #4845C8 #7674D6 #A5A3E4

Accessibility & contrast

On white

7.09
#4845C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4845C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4845C8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845C8#FFFFFF#000000##FFFFFF
##4845C81.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECC
Deuteranopia (green-blind)
#0053C5
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4845c8;
/* rgb */ color: rgb(72, 69, 200);
/* oklch */ color: oklch(47.8% 0.197 276.9);
Tailwind
colors: {
  custom: {
    50: '#8a79da',
    500: '#4845c8',
    950: '#000000',
  },
}
SCSS
$custom: #4845c8;
$custom-light: #8a79da;
$custom-dark: #000000;
JSON
{
  "hex": "#4845c8",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 241.374,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47811,
    "c": 0.19683,
    "h": 276.9
  },
  "luminance": 0.09804
}

Semantic roles & 50–950 ramp

primary
#4845C8
secondary
#CFD198
accent
#DE4ADA
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4845C8

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

Preview Lab → · Contrast checker → · Palette generator →

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