#4838C0#4838C0

#4838C0 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.1% C 0.201 H 279.9°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#4838C0
RGBrgb(72, 56, 192)
HSLhsl(247, 55%, 49%)
HSVhsv(247, 71%, 75%)
CMYKcmyk(62.5%, 70.8%, 0%, 24.7%)
CIE-LABlab(34.01, 45.97, -68.79)
CIE-LCHlch(34.01, 82.73, 303.75°)
OKLaboklab(45.09% 0.0347 -0.1984)
OKLCHoklch(45.09% 0.201 279.9)
XYZxyz(13.5981, 8.0108, 50.6886)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4838C0 #B0C038
analogous
#386CC0 #4838C0 #8C38C0
triadic
#4838C0 #C04838 #38C048
tetradic
#4838C0 #C0386C #B0C038 #38C08C
square
#4838C0 #C0386C #B0C038 #38C08C
split-complementary
#4838C0 #C08C38 #6CC038
monochromatic
#241C61 #362A91 #4838C0 #7064D2 #9C93DF

Accessibility & contrast

On white

8.07
#4838C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4838C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4838C0
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4838C0#FFFFFF#000000##FFFFFF
##4838C01.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4838c0;
/* rgb */ color: rgb(72, 56, 192);
/* oklch */ color: oklch(45.1% 0.201 279.9);
Tailwind
colors: {
  custom: {
    50: '#8970d4',
    500: '#4838c0',
    950: '#000000',
  },
}
SCSS
$custom: #4838c0;
$custom-light: #8970d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4838c0",
  "rgb": {
    "r": 72,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 247.059,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45087,
    "c": 0.20141,
    "h": 279.9
  },
  "luminance": 0.08012
}

Semantic roles & 50–950 ramp

primary
#4838C0
secondary
#C3CB89
accent
#DE4ACD
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4838C0

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

Preview Lab → · Contrast checker → · Palette generator →

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