#3A34CA#3A34CA

#3A34CA is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 44.5% C 0.221 H 274.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#3A34CA
RGBrgb(58, 52, 202)
HSLhsl(242, 59%, 50%)
HSVhsv(242, 74%, 79%)
CMYKcmyk(71.3%, 74.3%, 0%, 20.8%)
CIE-LABlab(33.18, 49.75, -76.04)
CIE-LCHlch(33.18, 90.87, 303.19°)
OKLaboklab(44.53% 0.0171 -0.2199)
OKLCHoklch(44.53% 0.221 274.5)
XYZxyz(13.6300, 7.6185, 56.6179)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34CA #C4CA34
analogous
#3479CA #3A34CA #8534CA
triadic
#3A34CA #CA3A34 #34CA3A
tetradic
#3A34CA #CA3479 #C4CA34 #34CA85
square
#3A34CA #CA3479 #C4CA34 #34CA85
split-complementary
#3A34CA #CA8534 #79CA34
monochromatic
#1E1B69 #2C2799 #3A34CA #6964D7 #9895E4

Accessibility & contrast

On white

8.32
#3A34CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3A34CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34CA
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34CA#FFFFFF#000000##FFFFFF
##3A34CA1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CE
Deuteranopia (green-blind)
#0047C7
Tritanopia (blue-blind)
#00607D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a34ca;
/* rgb */ color: rgb(58, 52, 202);
/* oklch */ color: oklch(44.5% 0.221 274.5);
Tailwind
colors: {
  custom: {
    50: '#856edb',
    500: '#3a34ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a34ca;
$custom-light: #856edb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34ca",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 242.4,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.44529,
    "c": 0.2206,
    "h": 274.5
  },
  "luminance": 0.0762
}

Semantic roles & 50–950 ramp

primary
#3A34CA
secondary
#CCCF8B
accent
#E246DC
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3A34CA

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

Preview Lab → · Contrast checker → · Palette generator →

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