#4A34BB#4A34BB

#4A34BB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 44.2% C 0.199 H 282.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4A34BB
RGBrgb(74, 52, 187)
HSLhsl(250, 56%, 47%)
HSVhsv(250, 72%, 73%)
CMYKcmyk(60.4%, 72.2%, 0%, 26.7%)
CIE-LABlab(32.92, 46.89, -67.63)
CIE-LCHlch(32.92, 82.30, 304.74°)
OKLaboklab(44.21% 0.0413 -0.1949)
OKLCHoklch(44.21% 0.199 282)
XYZxyz(13.0189, 7.4988, 47.7654)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34BB #A5BB34
analogous
#3462BB #4A34BB #8E34BB
triadic
#4A34BB #BB4A34 #34BB4A
tetradic
#4A34BB #BB3462 #A5BB34 #34BB8E
square
#4A34BB #BB3462 #A5BB34 #34BB8E
split-complementary
#4A34BB #BB8E34 #62BB34
monochromatic
#24195B #37278B #4A34BB #6E5BD1 #988BDF

Accessibility & contrast

On white

8.40
#4A34BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4A34BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34BB
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34BB#FFFFFF#000000##FFFFFF
##4A34BB1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0049B8
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a34bb;
/* rgb */ color: rgb(74, 52, 187);
/* oklch */ color: oklch(44.2% 0.199 282.0);
Tailwind
colors: {
  custom: {
    50: '#8a6ed1',
    500: '#4a34bb',
    950: '#000000',
  },
}
SCSS
$custom: #4a34bb;
$custom-light: #8a6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34bb",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 249.778,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44213,
    "c": 0.19926,
    "h": 282
  },
  "luminance": 0.075
}

Semantic roles & 50–950 ramp

primary
#4A34BB
secondary
#BDC982
accent
#E048C7
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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