#4B34C2#4B34C2

#4B34C2 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 45.0% C 0.207 H 281.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#4B34C2
RGBrgb(75, 52, 194)
HSLhsl(250, 58%, 48%)
HSVhsv(250, 73%, 76%)
CMYKcmyk(61.3%, 73.2%, 0%, 23.9%)
CIE-LABlab(33.66, 49.15, -70.52)
CIE-LCHlch(33.66, 85.96, 304.87°)
OKLaboklab(44.96% 0.0412 -0.2034)
OKLCHoklch(44.96% 0.208 281.5)
XYZxyz(13.8642, 7.8459, 51.8123)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B34C2 #ABC234
analogous
#3464C2 #4B34C2 #9234C2
triadic
#4B34C2 #C24B34 #34C24B
tetradic
#4B34C2 #C23464 #ABC234 #34C292
square
#4B34C2 #C23464 #ABC234 #34C292
split-complementary
#4B34C2 #C29234 #64C234
monochromatic
#261A61 #382792 #4B34C2 #725FD4 #9D8FE1

Accessibility & contrast

On white

8.17
#4B34C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4B34C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B34C2
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B34C2#FFFFFF#000000##FFFFFF
##4B34C21.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C6
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4b34c2;
/* rgb */ color: rgb(75, 52, 194);
/* oklch */ color: oklch(45.0% 0.207 281.5);
Tailwind
colors: {
  custom: {
    50: '#8b6ed6',
    500: '#4b34c2',
    950: '#000000',
  },
}
SCSS
$custom: #4b34c2;
$custom-light: #8b6ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b34c2",
  "rgb": {
    "r": 75,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 249.718,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.4496,
    "c": 0.2075,
    "h": 281.5
  },
  "luminance": 0.07847
}

Semantic roles & 50–950 ramp

primary
#4B34C2
secondary
#C0CC86
accent
#E147C8
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4B34C2

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

Preview Lab → · Contrast checker → · Palette generator →

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