#4837BF#4837BF

#4837BF is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.9% C 0.201 H 280.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#4837BF
RGBrgb(72, 55, 191)
HSLhsl(248, 55%, 48%)
HSVhsv(248, 71%, 75%)
CMYKcmyk(62.3%, 71.2%, 0%, 25.1%)
CIE-LABlab(33.71, 46.21, -68.68)
CIE-LCHlch(33.71, 82.78, 303.93°)
OKLaboklab(44.85% 0.0356 -0.1981)
OKLCHoklch(44.85% 0.201 280.2)
XYZxyz(13.4397, 7.8707, 50.0911)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837BF #AEBF37
analogous
#376ABF #4837BF #8C37BF
triadic
#4837BF #BF4837 #37BF48
tetradic
#4837BF #BF376A #AEBF37 #37BF8C
square
#4837BF #BF376A #AEBF37 #37BF8C
split-complementary
#4837BF #BF8C37 #6ABF37
monochromatic
#241C60 #36298F #4837BF #7062D2 #9B91DF

Accessibility & contrast

On white

8.16
#4837BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4837BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837BF
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837BF#FFFFFF#000000##FFFFFF
##4837BF1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#004ABC
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4837bf;
/* rgb */ color: rgb(72, 55, 191);
/* oklch */ color: oklch(44.9% 0.201 280.2);
Tailwind
colors: {
  custom: {
    50: '#8970d3',
    500: '#4837bf',
    950: '#000000',
  },
}
SCSS
$custom: #4837bf;
$custom-light: #8970d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4837bf",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 247.5,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4485,
    "c": 0.20127,
    "h": 280.2
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#4837BF
secondary
#C2CA88
accent
#DF49CC
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4837BF

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

Preview Lab → · Contrast checker → · Palette generator →

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