#4A34CB#4A34CB

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

Color values

HEX#4A34CB
RGBrgb(74, 52, 203)
HSLhsl(249, 59%, 50%)
HSVhsv(249, 74%, 80%)
CMYKcmyk(63.5%, 74.4%, 0%, 20.4%)
CIE-LABlab(34.44, 51.74, -74.50)
CIE-LCHlch(34.44, 90.70, 304.78°)
OKLaboklab(45.75% 0.0378 -0.215)
OKLCHoklch(45.75% 0.218 280)
XYZxyz(14.8281, 8.2225, 57.2940)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34CB #B5CB34
analogous
#3469CB #4A34CB #9634CB
triadic
#4A34CB #CB4A34 #34CB4A
tetradic
#4A34CB #CB3469 #B5CB34 #34CB96
square
#4A34CB #CB3469 #B5CB34 #34CB96
split-complementary
#4A34CB #CB9634 #69CB34
monochromatic
#261B6A #38289A #4A34CB #7565D7 #A195E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A34CB#FFFFFF#000000##FFFFFF
##4A34CB1.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)
#0056CF
Deuteranopia (green-blind)
#004BC8
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4a34cb;
/* rgb */ color: rgb(74, 52, 203);
/* oklch */ color: oklch(45.8% 0.218 280.0);
Tailwind
colors: {
  custom: {
    50: '#8c6fdc',
    500: '#4a34cb',
    950: '#000000',
  },
}
SCSS
$custom: #4a34cb;
$custom-light: #8c6fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34cb",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 203
  },
  "hsl": {
    "h": 248.742,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.45753,
    "c": 0.21831,
    "h": 280
  },
  "luminance": 0.08224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A34CB

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

Preview Lab → · Contrast checker → · Palette generator →

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