#4837DD#4837DD

#4837DD is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 47.8% C 0.237 H 277.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4837DD
RGBrgb(72, 55, 221)
HSLhsl(246, 71%, 54%)
HSVhsv(246, 75%, 87%)
CMYKcmyk(67.4%, 75.1%, 0%, 13.3%)
CIE-LABlab(36.61, 55.42, -81.32)
CIE-LCHlch(36.61, 98.41, 304.27°)
OKLaboklab(47.77% 0.0293 -0.235)
OKLCHoklch(47.77% 0.237 277.1)
XYZxyz(17.0856, 9.3290, 69.2929)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837DD #CCDD37
analogous
#3779DD #4837DD #9B37DD
triadic
#4837DD #DD4837 #37DD48
tetradic
#4837DD #DD3779 #CCDD37 #37DD9B
square
#4837DD #DD3779 #CCDD37 #37DD9B
split-complementary
#4837DD #DD9B37 #79DD37
monochromatic
#211683 #2F1FB8 #4837DD #786BE6 #A8A0EF

Accessibility & contrast

On white

7.33
#4837DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#4837DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837DD
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837DD#FFFFFF#000000##FFFFFF
##4837DD1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE2
Deuteranopia (green-blind)
#004FDA
Tritanopia (blue-blind)
#006888
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4837dd;
/* rgb */ color: rgb(72, 55, 221);
/* oklch */ color: oklch(47.8% 0.237 277.1);
Tailwind
colors: {
  custom: {
    50: '#8f71e9',
    500: '#4837dd',
    950: '#000000',
  },
}
SCSS
$custom: #4837dd;
$custom-light: #8f71e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4837dd",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 221
  },
  "hsl": {
    "h": 246.145,
    "s": 70.94,
    "l": 54.118
  },
  "oklch": {
    "l": 0.47773,
    "c": 0.23681,
    "h": 277.1
  },
  "luminance": 0.09331
}

Semantic roles & 50–950 ramp

primary
#4837DD
secondary
#D4DB95
accent
#EE3ADB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4837DD

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

Preview Lab → · Contrast checker → · Palette generator →

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