#4B34D2#4B34D2

#4B34D2 is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.5% C 0.226 H 279.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#4B34D2
RGBrgb(75, 52, 210)
HSLhsl(249, 64%, 51%)
HSVhsv(249, 75%, 82%)
CMYKcmyk(64.3%, 75.2%, 0%, 17.6%)
CIE-LABlab(35.21, 53.95, -77.29)
CIE-LCHlch(35.21, 94.26, 304.92°)
OKLaboklab(46.52% 0.0375 -0.2231)
OKLCHoklch(46.52% 0.226 279.5)
XYZxyz(15.7588, 8.6037, 61.7905)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B34D2 #BBD234
analogous
#346CD2 #4B34D2 #9A34D2
triadic
#4B34D2 #D24B34 #34D24B
tetradic
#4B34D2 #D2346C #BBD234 #34D29A
square
#4B34D2 #D2346C #BBD234 #34D29A
split-complementary
#4B34D2 #D29A34 #6CD234
monochromatic
#261972 #3724A4 #4B34D2 #7766DD #A498E8

Accessibility & contrast

On white

7.72
#4B34D2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#4B34D2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B34D2
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B34D2#FFFFFF#000000##FFFFFF
##4B34D21.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D7
Deuteranopia (green-blind)
#004DCF
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #4b34d2;
/* rgb */ color: rgb(75, 52, 210);
/* oklch */ color: oklch(46.5% 0.226 279.5);
Tailwind
colors: {
  custom: {
    50: '#8e6fe1',
    500: '#4b34d2',
    950: '#000000',
  },
}
SCSS
$custom: #4b34d2;
$custom-light: #8e6fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b34d2",
  "rgb": {
    "r": 75,
    "g": 52,
    "b": 210
  },
  "hsl": {
    "h": 248.734,
    "s": 63.71,
    "l": 51.373
  },
  "oklch": {
    "l": 0.4652,
    "c": 0.22626,
    "h": 279.5
  },
  "luminance": 0.08605
}

Semantic roles & 50–950 ramp

primary
#4B34D2
secondary
#CAD48E
accent
#E741CF
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0715
muted
#7E7A84

Preview Lab

Preview with #4B34D2

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

Preview Lab → · Contrast checker → · Palette generator →

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