#4B34D1#4B34D1

#4B34D1 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.4% C 0.225 H 279.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#4B34D1
RGBrgb(75, 52, 209)
HSLhsl(249, 63%, 51%)
HSVhsv(249, 75%, 82%)
CMYKcmyk(64.1%, 75.1%, 0%, 18%)
CIE-LABlab(35.11, 53.65, -76.87)
CIE-LCHlch(35.11, 93.75, 304.91°)
OKLaboklab(46.42% 0.0378 -0.2219)
OKLCHoklch(46.42% 0.225 279.7)
XYZxyz(15.6346, 8.5540, 61.1364)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B34D1 #BAD134
analogous
#346BD1 #4B34D1 #9934D1
triadic
#4B34D1 #D14B34 #34D14B
tetradic
#4B34D1 #D1346B #BAD134 #34D199
square
#4B34D1 #D1346B #BAD134 #34D199
split-complementary
#4B34D1 #D19934 #6BD134
monochromatic
#261A71 #3725A3 #4B34D1 #7766DC #A398E8

Accessibility & contrast

On white

7.75
#4B34D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#4B34D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B34D1
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B34D1#FFFFFF#000000##FFFFFF
##4B34D11.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b34d1;
/* rgb */ color: rgb(75, 52, 209);
/* oklch */ color: oklch(46.4% 0.225 279.7);
Tailwind
colors: {
  custom: {
    50: '#8e6fe0',
    500: '#4b34d1',
    950: '#000000',
  },
}
SCSS
$custom: #4b34d1;
$custom-light: #8e6fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b34d1",
  "rgb": {
    "r": 75,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 248.79,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.46421,
    "c": 0.22511,
    "h": 279.7
  },
  "luminance": 0.08555
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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