#3A34C0#3A34C0

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

Color values

HEX#3A34C0
RGBrgb(58, 52, 192)
HSLhsl(243, 57%, 48%)
HSVhsv(243, 73%, 75%)
CMYKcmyk(69.8%, 72.9%, 0%, 24.7%)
CIE-LABlab(32.17, 46.54, -71.85)
CIE-LCHlch(32.17, 85.60, 302.93°)
OKLaboklab(43.51% 0.019 -0.2077)
OKLCHoklch(43.51% 0.209 275.2)
XYZxyz(12.4842, 7.1601, 50.5831)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34C0 #BAC034
analogous
#3474C0 #3A34C0 #8034C0
triadic
#3A34C0 #C03A34 #34C03A
tetradic
#3A34C0 #C03474 #BAC034 #34C080
square
#3A34C0 #C03474 #BAC034 #34C080
split-complementary
#3A34C0 #C08034 #74C034
monochromatic
#1D1A60 #2B2790 #3A34C0 #635ED3 #928EE0

Accessibility & contrast

On white

8.63
#3A34C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3A34C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34C0
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34C0#FFFFFF#000000##FFFFFF
##3A34C01.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a34c0;
/* rgb */ color: rgb(58, 52, 192);
/* oklch */ color: oklch(43.5% 0.209 275.2);
Tailwind
colors: {
  custom: {
    50: '#836dd4',
    500: '#3a34c0',
    950: '#000000',
  },
}
SCSS
$custom: #3a34c0;
$custom-light: #836dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34c0",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 242.571,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43514,
    "c": 0.20857,
    "h": 275.2
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A34C0

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

Preview Lab → · Contrast checker → · Palette generator →

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