#4838D0#4838D0

#4838D0 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.6% C 0.221 H 278.2°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#4838D0
RGBrgb(72, 56, 208)
HSLhsl(246, 62%, 52%)
HSVhsv(246, 73%, 82%)
CMYKcmyk(65.4%, 73.1%, 0%, 18.4%)
CIE-LABlab(35.52, 50.93, -75.64)
CIE-LCHlch(35.52, 91.19, 303.96°)
OKLaboklab(46.62% 0.0316 -0.2184)
OKLCHoklch(46.62% 0.221 278.2)
XYZxyz(15.4682, 8.7588, 60.5378)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4838D0 #C0D038
analogous
#3874D0 #4838D0 #9438D0
triadic
#4838D0 #D04838 #38D048
tetradic
#4838D0 #D03874 #C0D038 #38D094
square
#4838D0 #D03874 #C0D038 #38D094
split-complementary
#4838D0 #D09438 #74D038
monochromatic
#241B73 #3427A4 #4838D0 #766ADC #A39BE7

Accessibility & contrast

On white

7.63
#4838D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#4838D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4838D0
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4838D0#FFFFFF#000000##FFFFFF
##4838D01.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD4
Deuteranopia (green-blind)
#004DCD
Tritanopia (blue-blind)
#006381
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4838d0;
/* rgb */ color: rgb(72, 56, 208);
/* oklch */ color: oklch(46.6% 0.221 278.2);
Tailwind
colors: {
  custom: {
    50: '#8c71e0',
    500: '#4838d0',
    950: '#000000',
  },
}
SCSS
$custom: #4838d0;
$custom-light: #8c71e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4838d0",
  "rgb": {
    "r": 72,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 246.316,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.46618,
    "c": 0.22069,
    "h": 278.2
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#4838D0
secondary
#CCD391
accent
#E543D4
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4838D0

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

Preview Lab → · Contrast checker → · Palette generator →

#4838D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva