#4837CC#4837CC

#4837CC is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.1% C 0.217 H 278.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4837CC
RGBrgb(72, 55, 204)
HSLhsl(247, 59%, 51%)
HSVhsv(247, 73%, 80%)
CMYKcmyk(64.7%, 73%, 0%, 20%)
CIE-LABlab(34.94, 50.24, -74.26)
CIE-LCHlch(34.94, 89.66, 304.08°)
OKLaboklab(46.09% 0.033 -0.2144)
OKLCHoklch(46.09% 0.217 278.8)
XYZxyz(14.9343, 8.4685, 57.9626)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837CC #BBCC37
analogous
#3770CC #4837CC #9337CC
triadic
#4837CC #CC4837 #37CC48
tetradic
#4837CC #CC3770 #BBCC37 #37CC93
square
#4837CC #CC3770 #BBCC37 #37CC93
split-complementary
#4837CC #CC9337 #70CC37
monochromatic
#251C6D #36289E #4837CC #7568D8 #A199E5

Accessibility & contrast

On white

7.80
#4837CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4837CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837CC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837CC#FFFFFF#000000##FFFFFF
##4837CC1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004CC9
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4837cc;
/* rgb */ color: rgb(72, 55, 204);
/* oklch */ color: oklch(46.1% 0.217 278.8);
Tailwind
colors: {
  custom: {
    50: '#8b70dd',
    500: '#4837cc',
    950: '#000000',
  },
}
SCSS
$custom: #4837cc;
$custom-light: #8b70dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4837cc",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 204
  },
  "hsl": {
    "h": 246.846,
    "s": 59.363,
    "l": 50.784
  },
  "oklch": {
    "l": 0.46094,
    "c": 0.21692,
    "h": 278.8
  },
  "luminance": 0.0847
}

Semantic roles & 50–950 ramp

primary
#4837CC
secondary
#C9D08E
accent
#E345D1
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4837CC

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

Preview Lab → · Contrast checker → · Palette generator →

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