#4B34D7#4B34D7

#4B34D7 is a mid, highly saturated blue. Relative luminance 0.089; OKLCH L 47.0% C 0.232 H 279.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#4B34D7
RGBrgb(75, 52, 215)
HSLhsl(248, 67%, 52%)
HSVhsv(248, 76%, 84%)
CMYKcmyk(65.1%, 75.8%, 0%, 15.7%)
CIE-LABlab(35.71, 55.44, -79.36)
CIE-LCHlch(35.71, 96.80, 304.94°)
OKLaboklab(47.02% 0.0363 -0.2292)
OKLCHoklch(47.02% 0.232 279)
XYZxyz(16.3915, 8.8568, 65.1225)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B34D7 #C0D734
analogous
#346FD7 #4B34D7 #9C34D7
triadic
#4B34D7 #D74B34 #34D74B
tetradic
#4B34D7 #D7346F #C0D734 #34D79C
square
#4B34D7 #D7346F #C0D734 #34D79C
split-complementary
#4B34D7 #D79C34 #6FD734
monochromatic
#251879 #3522AC #4B34D7 #7867E1 #A69AEB

Accessibility & contrast

On white

7.58
#4B34D7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#4B34D7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B34D7
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B34D7#FFFFFF#000000##FFFFFF
##4B34D71.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADC
Deuteranopia (green-blind)
#004DD4
Tritanopia (blue-blind)
#006484
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4b34d7;
/* rgb */ color: rgb(75, 52, 215);
/* oklch */ color: oklch(47.0% 0.232 279.0);
Tailwind
colors: {
  custom: {
    50: '#8f6fe5',
    500: '#4b34d7',
    950: '#000000',
  },
}
SCSS
$custom: #4b34d7;
$custom-light: #8f6fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b34d7",
  "rgb": {
    "r": 75,
    "g": 52,
    "b": 215
  },
  "hsl": {
    "h": 248.466,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.47017,
    "c": 0.23202,
    "h": 279
  },
  "luminance": 0.08858
}

Semantic roles & 50–950 ramp

primary
#4B34D7
secondary
#CDD790
accent
#EA3ED2
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #4B34D7

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

Preview Lab → · Contrast checker → · Palette generator →

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