#4837C3#4837C3

#4837C3 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.2% C 0.206 H 279.7°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#4837C3
RGBrgb(72, 55, 195)
HSLhsl(247, 56%, 49%)
HSVhsv(247, 72%, 76%)
CMYKcmyk(63.1%, 71.8%, 0%, 23.5%)
CIE-LABlab(34.09, 47.45, -70.42)
CIE-LCHlch(34.09, 84.92, 303.98°)
OKLaboklab(45.23% 0.0348 -0.2032)
OKLCHoklch(45.23% 0.206 279.7)
XYZxyz(13.8859, 8.0492, 52.4411)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837C3 #B2C337
analogous
#376CC3 #4837C3 #8E37C3
triadic
#4837C3 #C34837 #37C348
tetradic
#4837C3 #C3376C #B2C337 #37C38E
square
#4837C3 #C3376C #B2C337 #37C38E
split-complementary
#4837C3 #C38E37 #6CC337
monochromatic
#251C64 #362A93 #4837C3 #7164D3 #9D94E1

Accessibility & contrast

On white

8.05
#4837C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4837C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837C3
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837C3#FFFFFF#000000##FFFFFF
##4837C31.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C7
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#005E79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4837c3;
/* rgb */ color: rgb(72, 55, 195);
/* oklch */ color: oklch(45.2% 0.206 279.7);
Tailwind
colors: {
  custom: {
    50: '#8a70d6',
    500: '#4837c3',
    950: '#000000',
  },
}
SCSS
$custom: #4837c3;
$custom-light: #8a70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4837c3",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 195
  },
  "hsl": {
    "h": 247.286,
    "s": 56,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45229,
    "c": 0.20613,
    "h": 279.7
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

primary
#4837C3
secondary
#C4CC8A
accent
#DF49CD
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4837C3

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

Preview Lab → · Contrast checker → · Palette generator →

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