#3B34D1#3B34D1

#3B34D1 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.3% C 0.229 H 274.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3B34D1
RGBrgb(59, 52, 209)
HSLhsl(243, 63%, 51%)
HSVhsv(243, 75%, 82%)
CMYKcmyk(71.8%, 75.1%, 0%, 18%)
CIE-LABlab(33.96, 52.05, -78.82)
CIE-LCHlch(33.96, 94.46, 303.44°)
OKLaboklab(45.31% 0.017 -0.228)
OKLCHoklch(45.31% 0.229 274.3)
XYZxyz(14.5364, 7.9878, 61.0850)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B34D1 #CAD134
analogous
#347BD1 #3B34D1 #8934D1
triadic
#3B34D1 #D13B34 #34D13B
tetradic
#3B34D1 #D1347B #CAD134 #34D189
square
#3B34D1 #D1347B #CAD134 #34D189
split-complementary
#3B34D1 #D18934 #7BD134
monochromatic
#1E1A71 #2B25A3 #3B34D1 #6B66DC #9B98E8

Accessibility & contrast

On white

8.08
#3B34D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3B34D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B34D1
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B34D1#FFFFFF#000000##FFFFFF
##3B34D11.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D6
Deuteranopia (green-blind)
#0048CE
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3b34d1;
/* rgb */ color: rgb(59, 52, 209);
/* oklch */ color: oklch(45.3% 0.229 274.3);
Tailwind
colors: {
  custom: {
    50: '#876ee1',
    500: '#3b34d1',
    950: '#000000',
  },
}
SCSS
$custom: #3b34d1;
$custom-light: #876ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b34d1",
  "rgb": {
    "r": 59,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 242.675,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45312,
    "c": 0.22861,
    "h": 274.3
  },
  "luminance": 0.07989
}

Semantic roles & 50–950 ramp

primary
#3B34D1
secondary
#D0D38E
accent
#E642DF
background
#F9F6FE
surface
#F1ECFC
border
#CBC7D5
text
#0D0715
muted
#7E7A84

Preview Lab

Preview with #3B34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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