#3A34AC#3A34AC

#3A34AC is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.184 H 277.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#3A34AC
RGBrgb(58, 52, 172)
HSLhsl(243, 54%, 44%)
HSVhsv(243, 70%, 67%)
CMYKcmyk(66.3%, 69.8%, 0%, 32.5%)
CIE-LABlab(30.24, 39.98, -63.15)
CIE-LCHlch(30.24, 74.74, 302.33°)
OKLaboklab(41.55% 0.0224 -0.1823)
OKLCHoklch(41.55% 0.184 277)
XYZxyz(10.4169, 6.3332, 39.6952)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34AC #A6AC34
analogous
#346AAC #3A34AC #7634AC
triadic
#3A34AC #AC3A34 #34AC3A
tetradic
#3A34AC #AC346A #A6AC34 #34AC76
square
#3A34AC #AC346A #A6AC34 #34AC76
split-complementary
#3A34AC #AC7634 #6AAC34
monochromatic
#1A184E #2A267D #3A34AC #5852CB #8681D9

Accessibility & contrast

On white

9.26
#3A34AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3A34AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34AC
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34AC#FFFFFF#000000##FFFFFF
##3A34AC1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0042AA
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a34ac;
/* rgb */ color: rgb(58, 52, 172);
/* oklch */ color: oklch(41.5% 0.184 277.0);
Tailwind
colors: {
  custom: {
    50: '#7f6dc6',
    500: '#3a34ac',
    950: '#000000',
  },
}
SCSS
$custom: #3a34ac;
$custom-light: #7f6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34ac",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 243,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4155,
    "c": 0.18368,
    "h": 277
  },
  "luminance": 0.06334
}

Semantic roles & 50–950 ramp

primary
#3A34AC
secondary
#BFC279
accent
#DD4BD6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A34AC

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

Preview Lab → · Contrast checker → · Palette generator →

#3A34AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva