#4845BF#4845BF

#4845BF is a mid, vivid blue. Relative luminance 0.094; OKLCH L 47.0% C 0.185 H 277.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#4845BF
RGBrgb(72, 69, 191)
HSLhsl(241, 49%, 51%)
HSVhsv(241, 64%, 75%)
CMYKcmyk(62.3%, 63.9%, 0%, 25.1%)
CIE-LABlab(36.73, 38.02, -63.74)
CIE-LCHlch(36.73, 74.22, 300.82°)
OKLaboklab(47.03% 0.0246 -0.1836)
OKLCHoklch(47.03% 0.185 277.6)
XYZxyz(14.2015, 9.3944, 50.3450)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4845BF #BCBF45
analogous
#457FBF #4845BF #8545BF
triadic
#4845BF #BF4845 #45BF48
tetradic
#4845BF #BF457F #BCBF45 #45BF85
square
#4845BF #BF457F #BCBF45 #45BF85
split-complementary
#4845BF #BF8545 #7FBF45
monochromatic
#252366 #353394 #4845BF #7573CF #A2A0DE

Accessibility & contrast

On white

7.29
#4845BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#4845BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4845BF
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4845BF#FFFFFF#000000##FFFFFF
##4845BF1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4845bf;
/* rgb */ color: rgb(72, 69, 191);
/* oklch */ color: oklch(47.0% 0.185 277.6);
Tailwind
colors: {
  custom: {
    50: '#8879d3',
    500: '#4845bf',
    950: '#000000',
  },
}
SCSS
$custom: #4845bf;
$custom-light: #8879d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4845bf",
  "rgb": {
    "r": 72,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 241.475,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4703,
    "c": 0.18523,
    "h": 277.6
  },
  "luminance": 0.09396
}

Semantic roles & 50–950 ramp

primary
#4845BF
secondary
#CACB95
accent
#D84FD5
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4845BF

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

Preview Lab → · Contrast checker → · Palette generator →

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