#4835AF#4835AF

#4835AF is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.1% C 0.184 H 282.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#4835AF
RGBrgb(72, 53, 175)
HSLhsl(249, 54%, 45%)
HSVhsv(249, 70%, 69%)
CMYKcmyk(58.9%, 69.7%, 0%, 31.4%)
CIE-LABlab(31.85, 42.35, -62.26)
CIE-LCHlch(31.85, 75.30, 304.22°)
OKLaboklab(43.07% 0.04 -0.1793)
OKLCHoklch(43.07% 0.184 282.6)
XYZxyz(11.6811, 7.0183, 41.2883)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4835AF #9CAF35
analogous
#355FAF #4835AF #8535AF
triadic
#4835AF #AF4835 #35AF48
tetradic
#4835AF #AF355F #9CAF35 #35AF85
square
#4835AF #AF355F #9CAF35 #35AF85
split-complementary
#4835AF #AF8535 #5FAF35
monochromatic
#211951 #352780 #4835AF #6856CC #9285DA

Accessibility & contrast

On white

8.74
#4835AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4835AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4835AF
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4835AF#FFFFFF#000000##FFFFFF
##4835AF1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#07556E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4835af;
/* rgb */ color: rgb(72, 53, 175);
/* oklch */ color: oklch(43.1% 0.184 282.6);
Tailwind
colors: {
  custom: {
    50: '#866ec8',
    500: '#4835af',
    950: '#000000',
  },
}
SCSS
$custom: #4835af;
$custom-light: #866ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#4835af",
  "rgb": {
    "r": 72,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 249.344,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43073,
    "c": 0.1837,
    "h": 282.6
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#4835AF
secondary
#B8C47C
accent
#DD4BC6
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4835AF

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

Preview Lab → · Contrast checker → · Palette generator →

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