#4839AF#4839AF

#4839AF is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.7% C 0.179 H 281.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#4839AF
RGBrgb(72, 57, 175)
HSLhsl(248, 51%, 45%)
HSVhsv(248, 67%, 69%)
CMYKcmyk(58.9%, 67.4%, 0%, 31.4%)
CIE-LABlab(32.70, 40.03, -60.87)
CIE-LCHlch(32.70, 72.86, 303.33°)
OKLaboklab(43.68% 0.0366 -0.1752)
OKLCHoklch(43.68% 0.179 281.8)
XYZxyz(11.8711, 7.3983, 41.3516)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4839AF #A0AF39
analogous
#3965AF #4839AF #8339AF
triadic
#4839AF #AF4839 #39AF48
tetradic
#4839AF #AF3965 #A0AF39 #39AF83
square
#4839AF #AF3965 #A0AF39 #39AF83
split-complementary
#4839AF #AF8339 #65AF39
monochromatic
#221B53 #352A81 #4839AF #695BCA #948AD9

Accessibility & contrast

On white

8.47
#4839AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4839AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4839AF
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4839AF#FFFFFF#000000##FFFFFF
##4839AF1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#05576F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4839af;
/* rgb */ color: rgb(72, 57, 175);
/* oklch */ color: oklch(43.7% 0.179 281.8);
Tailwind
colors: {
  custom: {
    50: '#8671c8',
    500: '#4839af',
    950: '#000000',
  },
}
SCSS
$custom: #4839af;
$custom-light: #8671c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4839af",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 247.627,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43683,
    "c": 0.17901,
    "h": 281.8
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#4839AF
secondary
#BBC381
accent
#DA4DC8
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #4839AF

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

Preview Lab → · Contrast checker → · Palette generator →

#4839AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva