#3B34C5#3B34C5

#3B34C5 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.1% C 0.214 H 275.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#3B34C5
RGBrgb(59, 52, 197)
HSLhsl(243, 58%, 49%)
HSVhsv(243, 74%, 77%)
CMYKcmyk(70.1%, 73.6%, 0%, 22.7%)
CIE-LABlab(32.74, 48.25, -73.85)
CIE-LCHlch(32.74, 88.21, 303.16°)
OKLaboklab(44.08% 0.0193 -0.2135)
OKLCHoklch(44.08% 0.214 275.2)
XYZxyz(13.1063, 7.4158, 53.5532)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B34C5 #BEC534
analogous
#3476C5 #3B34C5 #8434C5
triadic
#3B34C5 #C53B34 #34C53B
tetradic
#3B34C5 #C53476 #BEC534 #34C584
square
#3B34C5 #C53476 #BEC534 #34C584
split-complementary
#3B34C5 #C58434 #76C534
monochromatic
#1E1A64 #2D2795 #3B34C5 #6761D5 #9591E2

Accessibility & contrast

On white

8.46
#3B34C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B34C5
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B34C5#FFFFFF#000000##FFFFFF
##3B34C51.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.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: #3b34c5;
/* rgb */ color: rgb(59, 52, 197);
/* oklch */ color: oklch(44.1% 0.214 275.2);
Tailwind
colors: {
  custom: {
    50: '#856ed8',
    500: '#3b34c5',
    950: '#000000',
  },
}
SCSS
$custom: #3b34c5;
$custom-light: #856ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b34c5",
  "rgb": {
    "r": 59,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 242.897,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.44083,
    "c": 0.21437,
    "h": 275.2
  },
  "luminance": 0.07417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B34C5

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

Preview Lab → · Contrast checker → · Palette generator →

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