#3A34BC#3A34BC

#3A34BC is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.1% C 0.204 H 275.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#3A34BC
RGBrgb(58, 52, 188)
HSLhsl(243, 57%, 47%)
HSVhsv(243, 72%, 74%)
CMYKcmyk(69.1%, 72.3%, 0%, 26.3%)
CIE-LABlab(31.77, 45.24, -70.14)
CIE-LCHlch(31.77, 83.47, 302.82°)
OKLaboklab(43.11% 0.0198 -0.2027)
OKLCHoklch(43.11% 0.204 275.6)
XYZxyz(12.0470, 6.9853, 48.2806)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34BC #B6BC34
analogous
#3472BC #3A34BC #7E34BC
triadic
#3A34BC #BC3A34 #34BC3A
tetradic
#3A34BC #BC3472 #B6BC34 #34BC7E
square
#3A34BC #BC3472 #B6BC34 #34BC7E
split-complementary
#3A34BC #BC7E34 #72BC34
monochromatic
#1C195C #2B278C #3A34BC #615BD2 #8F8BDF

Accessibility & contrast

On white

8.76
#3A34BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3A34BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34BC
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34BC#FFFFFF#000000##FFFFFF
##3A34BC1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0045BA
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a34bc;
/* rgb */ color: rgb(58, 52, 188);
/* oklch */ color: oklch(43.1% 0.204 275.6);
Tailwind
colors: {
  custom: {
    50: '#826dd1',
    500: '#3a34bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a34bc;
$custom-light: #826dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34bc",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 242.647,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43114,
    "c": 0.20369,
    "h": 275.6
  },
  "luminance": 0.06986
}

Semantic roles & 50–950 ramp

primary
#3A34BC
secondary
#C6C983
accent
#E048D9
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A34BC

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

Preview Lab → · Contrast checker → · Palette generator →

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