#4B34CA#4B34CA

#4B34CA is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.7% C 0.217 H 280.5°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#4B34CA
RGBrgb(75, 52, 202)
HSLhsl(249, 59%, 50%)
HSVhsv(249, 74%, 79%)
CMYKcmyk(62.9%, 74.3%, 0%, 20.8%)
CIE-LABlab(34.43, 51.56, -73.94)
CIE-LCHlch(34.43, 90.14, 304.89°)
OKLaboklab(45.73% 0.0394 -0.2133)
OKLCHoklch(45.73% 0.217 280.5)
XYZxyz(14.7869, 8.2150, 56.6721)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B34CA #B3CA34
analogous
#3468CA #4B34CA #9634CA
triadic
#4B34CA #CA4B34 #34CA4B
tetradic
#4B34CA #CA3468 #B3CA34 #34CA96
square
#4B34CA #CA3468 #B3CA34 #34CA96
split-complementary
#4B34CA #CA9634 #68CA34
monochromatic
#271B69 #392799 #4B34CA #7664D7 #A195E4

Accessibility & contrast

On white

7.94
#4B34CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4B34CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B34CA
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B34CA#FFFFFF#000000##FFFFFF
##4B34CA1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CE
Deuteranopia (green-blind)
#004BC7
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4b34ca;
/* rgb */ color: rgb(75, 52, 202);
/* oklch */ color: oklch(45.7% 0.217 280.5);
Tailwind
colors: {
  custom: {
    50: '#8d6fdb',
    500: '#4b34ca',
    950: '#000000',
  },
}
SCSS
$custom: #4b34ca;
$custom-light: #8d6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b34ca",
  "rgb": {
    "r": 75,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 249.2,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45733,
    "c": 0.21696,
    "h": 280.5
  },
  "luminance": 0.08216
}

Semantic roles & 50–950 ramp

primary
#4B34CA
secondary
#C4CF8B
accent
#E246CA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B34CA

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

Preview Lab → · Contrast checker → · Palette generator →

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