#4837DA#4837DA

#4837DA is a mid, highly saturated blue. Relative luminance 0.092; OKLCH L 47.5% C 0.233 H 277.4°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#4837DA
RGBrgb(72, 55, 218)
HSLhsl(246, 69%, 54%)
HSVhsv(246, 75%, 85%)
CMYKcmyk(67%, 74.8%, 0%, 14.5%)
CIE-LABlab(36.31, 54.51, -80.10)
CIE-LCHlch(36.31, 96.89, 304.24°)
OKLaboklab(47.47% 0.03 -0.2314)
OKLCHoklch(47.47% 0.233 277.4)
XYZxyz(16.6895, 9.1706, 67.2067)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837DA #C9DA37
analogous
#3777DA #4837DA #9937DA
triadic
#4837DA #DA4837 #37DA48
tetradic
#4837DA #DA3777 #C9DA37 #37DA99
square
#4837DA #DA3777 #C9DA37 #37DA99
split-complementary
#4837DA #DA9937 #77DA37
monochromatic
#22187F #3021B3 #4837DA #776BE4 #A79EED

Accessibility & contrast

On white

7.41
#4837DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4837DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837DA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837DA#FFFFFF#000000##FFFFFF
##4837DA1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CDF
Deuteranopia (green-blind)
#004ED7
Tritanopia (blue-blind)
#006686
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4837da;
/* rgb */ color: rgb(72, 55, 218);
/* oklch */ color: oklch(47.5% 0.233 277.4);
Tailwind
colors: {
  custom: {
    50: '#8e71e7',
    500: '#4837da',
    950: '#000000',
  },
}
SCSS
$custom: #4837da;
$custom-light: #8e71e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4837da",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 218
  },
  "hsl": {
    "h": 246.258,
    "s": 68.776,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47473,
    "c": 0.23335,
    "h": 277.4
  },
  "luminance": 0.09172
}

Semantic roles & 50–950 ramp

primary
#4837DA
secondary
#D2D993
accent
#EC3CD9
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4837DA

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

Preview Lab → · Contrast checker → · Palette generator →

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