#4B34CC#4B34CC

#4B34CC is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.9% C 0.219 H 280.2°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#4B34CC
RGBrgb(75, 52, 204)
HSLhsl(249, 60%, 50%)
HSVhsv(249, 75%, 80%)
CMYKcmyk(63.2%, 74.5%, 0%, 20%)
CIE-LABlab(34.62, 52.16, -74.78)
CIE-LCHlch(34.62, 91.17, 304.90°)
OKLaboklab(45.93% 0.039 -0.2158)
OKLCHoklch(45.93% 0.219 280.2)
XYZxyz(15.0253, 8.3103, 57.9273)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B34CC #B5CC34
analogous
#3469CC #4B34CC #9734CC
triadic
#4B34CC #CC4B34 #34CC4B
tetradic
#4B34CC #CC3469 #B5CC34 #34CC97
square
#4B34CC #CC3469 #B5CC34 #34CC97
split-complementary
#4B34CC #CC9734 #69CC34
monochromatic
#271B6B #39279C #4B34CC #7665D8 #A296E5

Accessibility & contrast

On white

7.89
#4B34CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#4B34CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B34CC
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B34CC#FFFFFF#000000##FFFFFF
##4B34CC1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D0
Deuteranopia (green-blind)
#004CC9
Tritanopia (blue-blind)
#005F7E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4b34cc;
/* rgb */ color: rgb(75, 52, 204);
/* oklch */ color: oklch(45.9% 0.219 280.2);
Tailwind
colors: {
  custom: {
    50: '#8d6fdd',
    500: '#4b34cc',
    950: '#000000',
  },
}
SCSS
$custom: #4b34cc;
$custom-light: #8d6fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b34cc",
  "rgb": {
    "r": 75,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 249.079,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45929,
    "c": 0.2193,
    "h": 280.2
  },
  "luminance": 0.08311
}

Semantic roles & 50–950 ramp

primary
#4B34CC
secondary
#C6D08C
accent
#E345CB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B34CC

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

Preview Lab → · Contrast checker → · Palette generator →

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