#4A34BE#4A34BE

#4A34BE is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.5% C 0.203 H 281.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4A34BE
RGBrgb(74, 52, 190)
HSLhsl(250, 57%, 47%)
HSVhsv(250, 73%, 75%)
CMYKcmyk(61.1%, 72.6%, 0%, 25.5%)
CIE-LABlab(33.20, 47.81, -68.94)
CIE-LCHlch(33.20, 83.89, 304.74°)
OKLaboklab(44.5% 0.0407 -0.1988)
OKLCHoklch(44.5% 0.203 281.6)
XYZxyz(13.3434, 7.6286, 49.4745)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34BE #A8BE34
analogous
#3463BE #4A34BE #8F34BE
triadic
#4A34BE #BE4A34 #34BE4A
tetradic
#4A34BE #BE3463 #A8BE34 #34BE8F
square
#4A34BE #BE3463 #A8BE34 #34BE8F
split-complementary
#4A34BE #BE8F34 #63BE34
monochromatic
#251A5E #37278E #4A34BE #6F5DD3 #9A8DE0

Accessibility & contrast

On white

8.31
#4A34BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4A34BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34BE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34BE#FFFFFF#000000##FFFFFF
##4A34BE1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#0049BB
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a34be;
/* rgb */ color: rgb(74, 52, 190);
/* oklch */ color: oklch(44.5% 0.203 281.6);
Tailwind
colors: {
  custom: {
    50: '#8a6ed3',
    500: '#4a34be',
    950: '#000000',
  },
}
SCSS
$custom: #4a34be;
$custom-light: #8a6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34be",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 249.565,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44497,
    "c": 0.20288,
    "h": 281.6
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#4A34BE
secondary
#BFCA84
accent
#E048C8
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A34BE

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

Preview Lab → · Contrast checker → · Palette generator →

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