#4837D3#4837D3

#4837D3 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.8% C 0.225 H 278.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4837D3
RGBrgb(72, 55, 211)
HSLhsl(247, 64%, 52%)
HSVhsv(247, 74%, 83%)
CMYKcmyk(65.9%, 73.9%, 0%, 17.3%)
CIE-LABlab(35.62, 52.38, -77.20)
CIE-LCHlch(35.62, 93.29, 304.16°)
OKLaboklab(46.78% 0.0315 -0.223)
OKLCHoklch(46.78% 0.225 278)
XYZxyz(15.7927, 8.8119, 62.4840)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837D3 #C2D337
analogous
#3774D3 #4837D3 #9637D3
triadic
#4837D3 #D34837 #37D348
tetradic
#4837D3 #D33774 #C2D337 #37D396
square
#4837D3 #D33774 #C2D337 #37D396
split-complementary
#4837D3 #D39637 #74D337
monochromatic
#241A76 #3325A8 #4837D3 #7669DE #A49BE9

Accessibility & contrast

On white

7.60
#4837D3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4837D3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837D3
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837D3#FFFFFF#000000##FFFFFF
##4837D31.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD8
Deuteranopia (green-blind)
#004DD0
Tritanopia (blue-blind)
#006482
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4837d3;
/* rgb */ color: rgb(72, 55, 211);
/* oklch */ color: oklch(46.8% 0.225 278.0);
Tailwind
colors: {
  custom: {
    50: '#8d71e2',
    500: '#4837d3',
    950: '#000000',
  },
}
SCSS
$custom: #4837d3;
$custom-light: #8d71e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4837d3",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 211
  },
  "hsl": {
    "h": 246.538,
    "s": 63.934,
    "l": 52.157
  },
  "oklch": {
    "l": 0.46779,
    "c": 0.2252,
    "h": 278
  },
  "luminance": 0.08813
}

Semantic roles & 50–950 ramp

primary
#4837D3
secondary
#CED591
accent
#E741D5
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4837D3

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

Preview Lab → · Contrast checker → · Palette generator →

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