#4A34BD#4A34BD

#4A34BD is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.4% C 0.202 H 281.7°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4A34BD
RGBrgb(74, 52, 189)
HSLhsl(250, 57%, 47%)
HSVhsv(250, 72%, 74%)
CMYKcmyk(60.8%, 72.5%, 0%, 25.9%)
CIE-LABlab(33.10, 47.50, -68.50)
CIE-LCHlch(33.10, 83.36, 304.74°)
OKLaboklab(44.4% 0.0409 -0.1975)
OKLCHoklch(44.4% 0.202 281.7)
XYZxyz(13.2345, 7.5850, 48.9009)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34BD #A7BD34
analogous
#3463BD #4A34BD #8F34BD
triadic
#4A34BD #BD4A34 #34BD4A
tetradic
#4A34BD #BD3463 #A7BD34 #34BD8F
square
#4A34BD #BD3463 #A7BD34 #34BD8F
split-complementary
#4A34BD #BD8F34 #63BD34
monochromatic
#241A5D #37278D #4A34BD #6F5CD2 #998CDF

Accessibility & contrast

On white

8.34
#4A34BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4A34BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34BD
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34BD#FFFFFF#000000##FFFFFF
##4A34BD1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0049BA
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a34bd;
/* rgb */ color: rgb(74, 52, 189);
/* oklch */ color: oklch(44.4% 0.202 281.7);
Tailwind
colors: {
  custom: {
    50: '#8a6ed2',
    500: '#4a34bd',
    950: '#000000',
  },
}
SCSS
$custom: #4a34bd;
$custom-light: #8a6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34bd",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 249.635,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44402,
    "c": 0.20168,
    "h": 281.7
  },
  "luminance": 0.07586
}

Semantic roles & 50–950 ramp

primary
#4A34BD
secondary
#BECA83
accent
#E048C8
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A34BD

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

Preview Lab → · Contrast checker → · Palette generator →

#4A34BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva