#3A34C9#3A34C9

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

Color values

HEX#3A34C9
RGBrgb(58, 52, 201)
HSLhsl(242, 59%, 50%)
HSVhsv(242, 74%, 79%)
CMYKcmyk(71.1%, 74.1%, 0%, 21.2%)
CIE-LABlab(33.07, 49.43, -75.63)
CIE-LCHlch(33.07, 90.35, 303.17°)
OKLaboklab(44.43% 0.0173 -0.2187)
OKLCHoklch(44.43% 0.219 274.5)
XYZxyz(13.5120, 7.5713, 55.9963)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34C9 #C3C934
analogous
#3479C9 #3A34C9 #8534C9
triadic
#3A34C9 #C93A34 #34C93A
tetradic
#3A34C9 #C93479 #C3C934 #34C985
square
#3A34C9 #C93479 #C3C934 #34C985
split-complementary
#3A34C9 #C98534 #79C934
monochromatic
#1E1B68 #2C2798 #3A34C9 #6863D7 #9794E3

Accessibility & contrast

On white

8.35
#3A34C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3A34C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34C9
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34C9#FFFFFF#000000##FFFFFF
##3A34C91.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#0047C6
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a34c9;
/* rgb */ color: rgb(58, 52, 201);
/* oklch */ color: oklch(44.4% 0.219 274.5);
Tailwind
colors: {
  custom: {
    50: '#856edb',
    500: '#3a34c9',
    950: '#000000',
  },
}
SCSS
$custom: #3a34c9;
$custom-light: #856edb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34c9",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 242.416,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44427,
    "c": 0.21941,
    "h": 274.5
  },
  "luminance": 0.07573
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A34C9

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

Preview Lab → · Contrast checker → · Palette generator →

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