#4A34DD#4A34DD

#4A34DD is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.5% C 0.239 H 278.1°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#4A34DD
RGBrgb(74, 52, 221)
HSLhsl(248, 71%, 54%)
HSVhsv(248, 76%, 87%)
CMYKcmyk(66.5%, 76.5%, 0%, 13.3%)
CIE-LABlab(36.23, 57.11, -81.94)
CIE-LCHlch(36.23, 99.88, 304.88°)
OKLaboklab(47.55% 0.0335 -0.2367)
OKLCHoklch(47.55% 0.239 278.1)
XYZxyz(17.0990, 9.1308, 69.2539)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34DD #C7DD34
analogous
#3472DD #4A34DD #9F34DD
triadic
#4A34DD #DD4A34 #34DD4A
tetradic
#4A34DD #DD3472 #C7DD34 #34DD9F
square
#4A34DD #DD3472 #C7DD34 #34DD9F
split-complementary
#4A34DD #DD9F34 #72DD34
monochromatic
#241681 #321EB5 #4A34DD #7968E6 #A79DEF

Accessibility & contrast

On white

7.43
#4A34DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#4A34DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34DD
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34DD#FFFFFF#000000##FFFFFF
##4A34DD1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CE2
Deuteranopia (green-blind)
#004EDA
Tritanopia (blue-blind)
#006687
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4a34dd;
/* rgb */ color: rgb(74, 52, 221);
/* oklch */ color: oklch(47.5% 0.239 278.1);
Tailwind
colors: {
  custom: {
    50: '#9070e9',
    500: '#4a34dd',
    950: '#000000',
  },
}
SCSS
$custom: #4a34dd;
$custom-light: #9070e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34dd",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 247.811,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.47548,
    "c": 0.23906,
    "h": 278.1
  },
  "luminance": 0.09132
}

Semantic roles & 50–950 ramp

primary
#4A34DD
secondary
#D1DB92
accent
#EE3AD7
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4A34DD

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

Preview Lab → · Contrast checker → · Palette generator →

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