#4837BE#4837BE

#4837BE is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.8% C 0.200 H 280.3°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4837BE
RGBrgb(72, 55, 190)
HSLhsl(248, 55%, 48%)
HSVhsv(248, 71%, 75%)
CMYKcmyk(62.1%, 71.1%, 0%, 25.5%)
CIE-LABlab(33.62, 45.90, -68.25)
CIE-LCHlch(33.62, 82.25, 303.92°)
OKLaboklab(44.76% 0.0357 -0.1968)
OKLCHoklch(44.76% 0.2 280.3)
XYZxyz(13.3300, 7.8268, 49.5135)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837BE #ADBE37
analogous
#3769BE #4837BE #8C37BE
triadic
#4837BE #BE4837 #37BE48
tetradic
#4837BE #BE3769 #ADBE37 #37BE8C
square
#4837BE #BE3769 #ADBE37 #37BE8C
split-complementary
#4837BE #BE8C37 #69BE37
monochromatic
#241C5F #36298F #4837BE #6F61D1 #9A90DF

Accessibility & contrast

On white

8.19
#4837BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4837BE
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837BE#FFFFFF#000000##FFFFFF
##4837BE1.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4837be;
/* rgb */ color: rgb(72, 55, 190);
/* oklch */ color: oklch(44.8% 0.200 280.3);
Tailwind
colors: {
  custom: {
    50: '#8970d3',
    500: '#4837be',
    950: '#000000',
  },
}
SCSS
$custom: #4837be;
$custom-light: #8970d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4837be",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 247.556,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44756,
    "c": 0.20004,
    "h": 280.3
  },
  "luminance": 0.07828
}

Semantic roles & 50–950 ramp

primary
#4837BE
secondary
#C1CA87
accent
#DE49CC
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4837BE

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

Preview Lab → · Contrast checker → · Palette generator →

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