#4A35BB#4A35BB

#4A35BB is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.4% C 0.198 H 281.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4A35BB
RGBrgb(74, 53, 187)
HSLhsl(249, 56%, 47%)
HSVhsv(249, 72%, 73%)
CMYKcmyk(60.4%, 71.7%, 0%, 26.7%)
CIE-LABlab(33.11, 46.35, -67.31)
CIE-LCHlch(33.11, 81.72, 304.55°)
OKLaboklab(44.35% 0.0406 -0.194)
OKLCHoklch(44.35% 0.198 281.8)
XYZxyz(13.0640, 7.5890, 47.7805)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A35BB #A6BB35
analogous
#3563BB #4A35BB #8D35BB
triadic
#4A35BB #BB4A35 #35BB4A
tetradic
#4A35BB #BB3563 #A6BB35 #35BB8D
square
#4A35BB #BB3563 #A6BB35 #35BB8D
split-complementary
#4A35BB #BB8D35 #63BB35
monochromatic
#241A5C #37278B #4A35BB #6F5CD1 #998CDE

Accessibility & contrast

On white

8.34
#4A35BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4A35BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A35BB
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A35BB#FFFFFF#000000##FFFFFF
##4A35BB1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0049B8
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a35bb;
/* rgb */ color: rgb(74, 53, 187);
/* oklch */ color: oklch(44.4% 0.198 281.8);
Tailwind
colors: {
  custom: {
    50: '#896fd1',
    500: '#4a35bb',
    950: '#000000',
  },
}
SCSS
$custom: #4a35bb;
$custom-light: #896fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a35bb",
  "rgb": {
    "r": 74,
    "g": 53,
    "b": 187
  },
  "hsl": {
    "h": 249.403,
    "s": 55.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44351,
    "c": 0.19819,
    "h": 281.8
  },
  "luminance": 0.0759
}

Semantic roles & 50–950 ramp

primary
#4A35BB
secondary
#BEC983
accent
#DF49C8
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A35BB

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

Preview Lab → · Contrast checker → · Palette generator →

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