#4841BF#4841BF

#4841BF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.4% C 0.190 H 278.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#4841BF
RGBrgb(72, 65, 191)
HSLhsl(243, 50%, 50%)
HSVhsv(243, 66%, 75%)
CMYKcmyk(62.3%, 66%, 0%, 25.1%)
CIE-LABlab(35.83, 40.44, -65.22)
CIE-LCHlch(35.83, 76.73, 301.80°)
OKLaboklab(46.37% 0.0279 -0.1879)
OKLCHoklch(46.37% 0.19 278.4)
XYZxyz(13.9637, 8.9188, 50.2658)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4841BF #B8BF41
analogous
#4179BF #4841BF #8741BF
triadic
#4841BF #BF4841 #41BF48
tetradic
#4841BF #BF4179 #B8BF41 #41BF87
square
#4841BF #BF4179 #B8BF41 #41BF87
split-complementary
#4841BF #BF8741 #79BF41
monochromatic
#252264 #363192 #4841BF #746FCE #A09DDE

Accessibility & contrast

On white

7.54
#4841BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#4841BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4841BF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4841BF#FFFFFF#000000##FFFFFF
##4841BF1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#004FBD
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4841bf;
/* rgb */ color: rgb(72, 65, 191);
/* oklch */ color: oklch(46.4% 0.190 278.4);
Tailwind
colors: {
  custom: {
    50: '#8876d3',
    500: '#4841bf',
    950: '#000000',
  },
}
SCSS
$custom: #4841bf;
$custom-light: #8876d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4841bf",
  "rgb": {
    "r": 72,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 243.333,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46371,
    "c": 0.19001,
    "h": 278.4
  },
  "luminance": 0.0892
}

Semantic roles & 50–950 ramp

primary
#4841BF
secondary
#C7CA92
accent
#D94FD1
background
#F9F7FD
surface
#F1EDFA
border
#CBC8D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4841BF

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

Preview Lab → · Contrast checker → · Palette generator →

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