#4A34BC#4A34BC

#4A34BC is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.3% C 0.200 H 281.8°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4A34BC
RGBrgb(74, 52, 188)
HSLhsl(250, 57%, 47%)
HSVhsv(250, 72%, 74%)
CMYKcmyk(60.6%, 72.3%, 0%, 26.3%)
CIE-LABlab(33.01, 47.20, -68.06)
CIE-LCHlch(33.01, 82.83, 304.74°)
OKLaboklab(44.31% 0.0411 -0.1962)
OKLCHoklch(44.31% 0.2 281.8)
XYZxyz(13.1263, 7.5417, 48.3312)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34BC #A6BC34
analogous
#3462BC #4A34BC #8E34BC
triadic
#4A34BC #BC4A34 #34BC4A
tetradic
#4A34BC #BC3462 #A6BC34 #34BC8E
square
#4A34BC #BC3462 #A6BC34 #34BC8E
split-complementary
#4A34BC #BC8E34 #62BC34
monochromatic
#24195C #37278C #4A34BC #6F5BD2 #998BDF

Accessibility & contrast

On white

8.37
#4A34BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4A34BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34BC
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34BC#FFFFFF#000000##FFFFFF
##4A34BC1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#005975
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a34bc;
/* rgb */ color: rgb(74, 52, 188);
/* oklch */ color: oklch(44.3% 0.200 281.8);
Tailwind
colors: {
  custom: {
    50: '#8a6ed1',
    500: '#4a34bc',
    950: '#000000',
  },
}
SCSS
$custom: #4a34bc;
$custom-light: #8a6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34bc",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 249.706,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44307,
    "c": 0.20047,
    "h": 281.8
  },
  "luminance": 0.07543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A34BC

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

Preview Lab → · Contrast checker → · Palette generator →

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