#4A34DA#4A34DA

#4A34DA is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.2% C 0.236 H 278.4°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#4A34DA
RGBrgb(74, 52, 218)
HSLhsl(248, 69%, 53%)
HSVhsv(248, 76%, 85%)
CMYKcmyk(66.1%, 76.1%, 0%, 14.5%)
CIE-LABlab(35.93, 56.22, -80.72)
CIE-LCHlch(35.93, 98.37, 304.86°)
OKLaboklab(47.25% 0.0343 -0.2331)
OKLCHoklch(47.25% 0.236 278.4)
XYZxyz(16.7028, 8.9724, 67.1677)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34DA #C4DA34
analogous
#3471DA #4A34DA #9D34DA
triadic
#4A34DA #DA4A34 #34DA4A
tetradic
#4A34DA #DA3471 #C4DA34 #34DA9D
square
#4A34DA #DA3471 #C4DA34 #34DA9D
split-complementary
#4A34DA #DA9D34 #71DA34
monochromatic
#24177D #3320B1 #4A34DA #7868E3 #A69CED

Accessibility & contrast

On white

7.51
#4A34DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#4A34DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34DA
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34DA#FFFFFF#000000##FFFFFF
##4A34DA1.007.512.797.51
#FFFFFF7.511.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDF
Deuteranopia (green-blind)
#004ED7
Tritanopia (blue-blind)
#006586
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a34da;
/* rgb */ color: rgb(74, 52, 218);
/* oklch */ color: oklch(47.2% 0.236 278.4);
Tailwind
colors: {
  custom: {
    50: '#8f6fe7',
    500: '#4a34da',
    950: '#000000',
  },
}
SCSS
$custom: #4a34da;
$custom-light: #8f6fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34da",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 218
  },
  "hsl": {
    "h": 247.952,
    "s": 69.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.47245,
    "c": 0.23565,
    "h": 278.4
  },
  "luminance": 0.08974
}

Semantic roles & 50–950 ramp

primary
#4A34DA
secondary
#CFD991
accent
#EC3CD5
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4A34DA

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

Preview Lab → · Contrast checker → · Palette generator →

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