#3A34C1#3A34C1

#3A34C1 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.6% C 0.210 H 275.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#3A34C1
RGBrgb(58, 52, 193)
HSLhsl(243, 58%, 48%)
HSVhsv(243, 73%, 76%)
CMYKcmyk(69.9%, 73.1%, 0%, 24.3%)
CIE-LABlab(32.27, 46.86, -72.27)
CIE-LCHlch(32.27, 86.14, 302.96°)
OKLaboklab(43.61% 0.0188 -0.2089)
OKLCHoklch(43.61% 0.21 275.2)
XYZxyz(12.5954, 7.2046, 51.1686)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34C1 #BBC134
analogous
#3474C1 #3A34C1 #8034C1
triadic
#3A34C1 #C13A34 #34C13A
tetradic
#3A34C1 #C13474 #BBC134 #34C180
square
#3A34C1 #C13474 #BBC134 #34C180
split-complementary
#3A34C1 #C18034 #74C134
monochromatic
#1D1A61 #2C2791 #3A34C1 #635ED4 #928FE1

Accessibility & contrast

On white

8.60
#3A34C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3A34C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34C1
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34C1#FFFFFF#000000##FFFFFF
##3A34C11.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C5
Deuteranopia (green-blind)
#0045BE
Tritanopia (blue-blind)
#005C77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a34c1;
/* rgb */ color: rgb(58, 52, 193);
/* oklch */ color: oklch(43.6% 0.210 275.2);
Tailwind
colors: {
  custom: {
    50: '#836dd5',
    500: '#3a34c1',
    950: '#000000',
  },
}
SCSS
$custom: #3a34c1;
$custom-light: #836dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34c1",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 242.553,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43615,
    "c": 0.20979,
    "h": 275.2
  },
  "luminance": 0.07206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A34C1

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

Preview Lab → · Contrast checker → · Palette generator →

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