#4B34CB#4B34CB

#4B34CB is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.8% C 0.218 H 280.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4B34CB
RGBrgb(75, 52, 203)
HSLhsl(249, 59%, 50%)
HSVhsv(249, 74%, 80%)
CMYKcmyk(63.1%, 74.4%, 0%, 20.4%)
CIE-LABlab(34.52, 51.86, -74.36)
CIE-LCHlch(34.52, 90.66, 304.89°)
OKLaboklab(45.83% 0.0392 -0.2146)
OKLCHoklch(45.83% 0.218 280.3)
XYZxyz(14.9057, 8.2625, 57.2977)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B34CB #B4CB34
analogous
#3469CB #4B34CB #9634CB
triadic
#4B34CB #CB4B34 #34CB4B
tetradic
#4B34CB #CB3469 #B4CB34 #34CB96
square
#4B34CB #CB3469 #B4CB34 #34CB96
split-complementary
#4B34CB #CB9634 #69CB34
monochromatic
#271B6A #39289A #4B34CB #7665D7 #A195E4

Accessibility & contrast

On white

7.92
#4B34CB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4B34CB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B34CB
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B34CB#FFFFFF#000000##FFFFFF
##4B34CB1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CF
Deuteranopia (green-blind)
#004BC8
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4b34cb;
/* rgb */ color: rgb(75, 52, 203);
/* oklch */ color: oklch(45.8% 0.218 280.3);
Tailwind
colors: {
  custom: {
    50: '#8d6fdc',
    500: '#4b34cb',
    950: '#000000',
  },
}
SCSS
$custom: #4b34cb;
$custom-light: #8d6fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b34cb",
  "rgb": {
    "r": 75,
    "g": 52,
    "b": 203
  },
  "hsl": {
    "h": 249.139,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.45831,
    "c": 0.21813,
    "h": 280.3
  },
  "luminance": 0.08264
}

Semantic roles & 50–950 ramp

primary
#4B34CB
secondary
#C5CF8C
accent
#E245CA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B34CB

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

Preview Lab → · Contrast checker → · Palette generator →

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