#3A34C5#3A34C5

#3A34C5 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.0% C 0.215 H 274.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#3A34C5
RGBrgb(58, 52, 197)
HSLhsl(242, 58%, 49%)
HSVhsv(242, 74%, 77%)
CMYKcmyk(70.6%, 73.6%, 0%, 22.7%)
CIE-LABlab(32.67, 48.15, -73.96)
CIE-LCHlch(32.67, 88.25, 303.07°)
OKLaboklab(44.02% 0.0181 -0.2138)
OKLCHoklch(44.02% 0.215 274.8)
XYZxyz(13.0476, 7.3855, 53.5504)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34C5 #BFC534
analogous
#3477C5 #3A34C5 #8334C5
triadic
#3A34C5 #C53A34 #34C53A
tetradic
#3A34C5 #C53477 #BFC534 #34C583
square
#3A34C5 #C53477 #BFC534 #34C583
split-complementary
#3A34C5 #C58334 #77C534
monochromatic
#1D1A64 #2C2795 #3A34C5 #6661D5 #9591E2

Accessibility & contrast

On white

8.48
#3A34C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3A34C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34C5
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34C5#FFFFFF#000000##FFFFFF
##3A34C51.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C9
Deuteranopia (green-blind)
#0046C2
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a34c5;
/* rgb */ color: rgb(58, 52, 197);
/* oklch */ color: oklch(44.0% 0.215 274.8);
Tailwind
colors: {
  custom: {
    50: '#846ed8',
    500: '#3a34c5',
    950: '#000000',
  },
}
SCSS
$custom: #3a34c5;
$custom-light: #846ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34c5",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 242.483,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44019,
    "c": 0.21461,
    "h": 274.8
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#3A34C5
secondary
#CACD88
accent
#E146DB
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0715
muted
#7D7A83

Preview Lab

Preview with #3A34C5

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

Preview Lab → · Contrast checker → · Palette generator →

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