#4A34D1#4A34D1

#4A34D1 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.3% C 0.225 H 279.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#4A34D1
RGBrgb(74, 52, 209)
HSLhsl(248, 63%, 51%)
HSVhsv(248, 75%, 82%)
CMYKcmyk(64.6%, 75.1%, 0%, 18%)
CIE-LABlab(35.03, 53.54, -77.01)
CIE-LCHlch(35.03, 93.79, 304.81°)
OKLaboklab(46.35% 0.0364 -0.2223)
OKLCHoklch(46.35% 0.225 279.3)
XYZxyz(15.5570, 8.5140, 61.1328)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34D1 #BBD134
analogous
#346CD1 #4A34D1 #9834D1
triadic
#4A34D1 #D14A34 #34D14A
tetradic
#4A34D1 #D1346C #BBD134 #34D198
square
#4A34D1 #D1346C #BBD134 #34D198
split-complementary
#4A34D1 #D19834 #6CD134
monochromatic
#261A71 #3725A3 #4A34D1 #7666DC #A398E8

Accessibility & contrast

On white

7.77
#4A34D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#4A34D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34D1
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34D1#FFFFFF#000000##FFFFFF
##4A34D11.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D5
Deuteranopia (green-blind)
#004CCE
Tritanopia (blue-blind)
#006181
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4a34d1;
/* rgb */ color: rgb(74, 52, 209);
/* oklch */ color: oklch(46.3% 0.225 279.3);
Tailwind
colors: {
  custom: {
    50: '#8e6fe0',
    500: '#4a34d1',
    950: '#000000',
  },
}
SCSS
$custom: #4a34d1;
$custom-light: #8e6fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34d1",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 248.408,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46345,
    "c": 0.2253,
    "h": 279.3
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#4A34D1
secondary
#C9D38E
accent
#E642CF
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4A34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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