#4A34DB#4A34DB

#4A34DB is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.3% C 0.237 H 278.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#4A34DB
RGBrgb(74, 52, 219)
HSLhsl(248, 70%, 53%)
HSVhsv(248, 76%, 86%)
CMYKcmyk(66.2%, 76.3%, 0%, 14.1%)
CIE-LABlab(36.03, 56.52, -81.13)
CIE-LCHlch(36.03, 98.87, 304.86°)
OKLaboklab(47.35% 0.034 -0.2343)
OKLCHoklch(47.35% 0.237 278.3)
XYZxyz(16.8341, 9.0249, 67.8589)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34DB #C5DB34
analogous
#3471DB #4A34DB #9D34DB
triadic
#4A34DB #DB4A34 #34DB4A
tetradic
#4A34DB #DB3471 #C5DB34 #34DB9D
square
#4A34DB #DB3471 #C5DB34 #34DB9D
split-complementary
#4A34DB #DB9D34 #71DB34
monochromatic
#24167E #3320B2 #4A34DB #7868E4 #A79CED

Accessibility & contrast

On white

7.49
#4A34DB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#4A34DB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34DB
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34DB#FFFFFF#000000##FFFFFF
##4A34DB1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE0
Deuteranopia (green-blind)
#004ED8
Tritanopia (blue-blind)
#006586
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #4a34db;
/* rgb */ color: rgb(74, 52, 219);
/* oklch */ color: oklch(47.3% 0.237 278.3);
Tailwind
colors: {
  custom: {
    50: '#8f6fe8',
    500: '#4a34db',
    950: '#000000',
  },
}
SCSS
$custom: #4a34db;
$custom-light: #8f6fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34db",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 219
  },
  "hsl": {
    "h": 247.904,
    "s": 69.874,
    "l": 53.137
  },
  "oklch": {
    "l": 0.47346,
    "c": 0.23679,
    "h": 278.3
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#4A34DB
secondary
#D0D991
accent
#ED3BD5
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4A34DB

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

Preview Lab → · Contrast checker → · Palette generator →

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