#4838AA#4838AA

#4838AA is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.174 H 282.7°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#4838AA
RGBrgb(72, 56, 170)
HSLhsl(248, 50%, 44%)
HSVhsv(248, 67%, 67%)
CMYKcmyk(57.6%, 67.1%, 0%, 33.3%)
CIE-LABlab(32.05, 39.03, -58.94)
CIE-LCHlch(32.05, 70.70, 303.51°)
OKLaboklab(43.08% 0.0381 -0.1696)
OKLCHoklch(43.08% 0.174 282.7)
XYZxyz(11.3401, 7.1076, 38.7968)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4838AA #9AAA38
analogous
#3861AA #4838AA #8138AA
triadic
#4838AA #AA4838 #38AA48
tetradic
#4838AA #AA3861 #9AAA38 #38AA81
square
#4838AA #AA3861 #9AAA38 #38AA81
split-complementary
#4838AA #AA8138 #61AA38
monochromatic
#211A4E #35297C #4838AA #6757C8 #9185D7

Accessibility & contrast

On white

8.67
#4838AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4838AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4838AA#FFFFFF#000000##FFFFFF
##4838AA1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#13556C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4838aa;
/* rgb */ color: rgb(72, 56, 170);
/* oklch */ color: oklch(43.1% 0.174 282.7);
Tailwind
colors: {
  custom: {
    50: '#8570c4',
    500: '#4838aa',
    950: '#000000',
  },
}
SCSS
$custom: #4838aa;
$custom-light: #8570c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4838aa",
  "rgb": {
    "r": 72,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 248.421,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43084,
    "c": 0.1738,
    "h": 282.7
  },
  "luminance": 0.07108
}

Semantic roles & 50–950 ramp

primary
#4838AA
secondary
#B7C17D
accent
#DA4EC6
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4838AA

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

Preview Lab → · Contrast checker → · Palette generator →

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