#4837C8#4837C8

#4837C8 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.7% C 0.212 H 279.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#4837C8
RGBrgb(72, 55, 200)
HSLhsl(247, 57%, 50%)
HSVhsv(247, 73%, 78%)
CMYKcmyk(64%, 72.5%, 0%, 21.6%)
CIE-LABlab(34.56, 49.00, -72.56)
CIE-LCHlch(34.56, 87.56, 304.03°)
OKLaboklab(45.71% 0.0338 -0.2094)
OKLCHoklch(45.71% 0.212 279.2)
XYZxyz(14.4607, 8.2791, 55.4684)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4837C8 #B7C837
analogous
#376FC8 #4837C8 #9037C8
triadic
#4837C8 #C84837 #37C848
tetradic
#4837C8 #C8376F #B7C837 #37C890
square
#4837C8 #C8376F #B7C837 #37C890
split-complementary
#4837C8 #C89037 #6FC837
monochromatic
#251D68 #372A98 #4837C8 #7467D5 #A097E2

Accessibility & contrast

On white

7.91
#4837C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4837C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4837C8
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4837C8#FFFFFF#000000##FFFFFF
##4837C81.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#004BC5
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4837c8;
/* rgb */ color: rgb(72, 55, 200);
/* oklch */ color: oklch(45.7% 0.212 279.2);
Tailwind
colors: {
  custom: {
    50: '#8b70da',
    500: '#4837c8',
    950: '#000000',
  },
}
SCSS
$custom: #4837c8;
$custom-light: #8b70da;
$custom-dark: #000000;
JSON
{
  "hex": "#4837c8",
  "rgb": {
    "r": 72,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 247.034,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.45707,
    "c": 0.21215,
    "h": 279.2
  },
  "luminance": 0.0828
}

Semantic roles & 50–950 ramp

primary
#4837C8
secondary
#C6CE8D
accent
#E048CE
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4837C8

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

Preview Lab → · Contrast checker → · Palette generator →

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