#3A34C2#3A34C2

#3A34C2 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.7% C 0.211 H 275.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#3A34C2
RGBrgb(58, 52, 194)
HSLhsl(243, 58%, 48%)
HSVhsv(243, 73%, 76%)
CMYKcmyk(70.1%, 73.2%, 0%, 23.9%)
CIE-LABlab(32.37, 47.18, -72.69)
CIE-LCHlch(32.37, 86.67, 302.99°)
OKLaboklab(43.72% 0.0187 -0.2102)
OKLCHoklch(43.72% 0.211 275.1)
XYZxyz(12.7073, 7.2494, 51.7581)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34C2 #BCC234
analogous
#3475C2 #3A34C2 #8134C2
triadic
#3A34C2 #C23A34 #34C23A
tetradic
#3A34C2 #C23475 #BCC234 #34C281
square
#3A34C2 #C23475 #BCC234 #34C281
split-complementary
#3A34C2 #C28134 #75C234
monochromatic
#1D1A61 #2C2792 #3A34C2 #645FD4 #938FE1

Accessibility & contrast

On white

8.57
#3A34C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3A34C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34C2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34C2#FFFFFF#000000##FFFFFF
##3A34C21.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a34c2;
/* rgb */ color: rgb(58, 52, 194);
/* oklch */ color: oklch(43.7% 0.211 275.1);
Tailwind
colors: {
  custom: {
    50: '#846dd6',
    500: '#3a34c2',
    950: '#000000',
  },
}
SCSS
$custom: #3a34c2;
$custom-light: #846dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34c2",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 242.535,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43715,
    "c": 0.211,
    "h": 275.1
  },
  "luminance": 0.07251
}

Semantic roles & 50–950 ramp

primary
#3A34C2
secondary
#C9CC86
accent
#E147DA
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A34C2

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

Preview Lab → · Contrast checker → · Palette generator →

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