#4A34D7#4A34D7

#4A34D7 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.9% C 0.232 H 278.7°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4A34D7
RGBrgb(74, 52, 215)
HSLhsl(248, 67%, 52%)
HSVhsv(248, 76%, 84%)
CMYKcmyk(65.6%, 75.8%, 0%, 15.7%)
CIE-LABlab(35.63, 55.33, -79.49)
CIE-LCHlch(35.63, 96.85, 304.84°)
OKLaboklab(46.94% 0.035 -0.2296)
OKLCHoklch(46.94% 0.232 278.7)
XYZxyz(16.3138, 8.8168, 65.1189)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34D7 #C1D734
analogous
#3470D7 #4A34D7 #9B34D7
triadic
#4A34D7 #D74A34 #34D74A
tetradic
#4A34D7 #D73470 #C1D734 #34D79B
square
#4A34D7 #D73470 #C1D734 #34D79B
split-complementary
#4A34D7 #D79B34 #70D734
monochromatic
#251879 #3522AC #4A34D7 #7867E1 #A59AEB

Accessibility & contrast

On white

7.60
#4A34D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4A34D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34D7
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34D7#FFFFFF#000000##FFFFFF
##4A34D71.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADC
Deuteranopia (green-blind)
#004DD4
Tritanopia (blue-blind)
#006484
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a34d7;
/* rgb */ color: rgb(74, 52, 215);
/* oklch */ color: oklch(46.9% 0.232 278.7);
Tailwind
colors: {
  custom: {
    50: '#8f6fe5',
    500: '#4a34d7',
    950: '#000000',
  },
}
SCSS
$custom: #4a34d7;
$custom-light: #8f6fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34d7",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 215
  },
  "hsl": {
    "h": 248.098,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.46943,
    "c": 0.23222,
    "h": 278.7
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

primary
#4A34D7
secondary
#CDD790
accent
#EA3ED3
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4A34D7

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

Preview Lab → · Contrast checker → · Palette generator →

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