#3B34D5#3B34D5

#3B34D5 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.7% C 0.233 H 274.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3B34D5
RGBrgb(59, 52, 213)
HSLhsl(243, 66%, 52%)
HSVhsv(243, 76%, 84%)
CMYKcmyk(72.3%, 75.6%, 0%, 16.5%)
CIE-LABlab(34.37, 53.31, -80.45)
CIE-LCHlch(34.37, 96.50, 303.53°)
OKLaboklab(45.73% 0.0162 -0.2327)
OKLCHoklch(45.73% 0.233 274)
XYZxyz(15.0379, 8.1884, 63.7259)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B34D5 #CED534
analogous
#347DD5 #3B34D5 #8C34D5
triadic
#3B34D5 #D53B34 #34D53B
tetradic
#3B34D5 #D5347D #CED534 #34D58C
square
#3B34D5 #D5347D #CED534 #34D58C
split-complementary
#3B34D5 #D58C34 #7DD534
monochromatic
#1D1876 #2923A9 #3B34D5 #6C67DF #9D99EA

Accessibility & contrast

On white

7.96
#3B34D5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3B34D5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B34D5
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B34D5#FFFFFF#000000##FFFFFF
##3B34D51.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058DA
Deuteranopia (green-blind)
#0049D2
Tritanopia (blue-blind)
#006483
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b34d5;
/* rgb */ color: rgb(59, 52, 213);
/* oklch */ color: oklch(45.7% 0.233 274.0);
Tailwind
colors: {
  custom: {
    50: '#886ee3',
    500: '#3b34d5',
    950: '#000000',
  },
}
SCSS
$custom: #3b34d5;
$custom-light: #886ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#3b34d5",
  "rgb": {
    "r": 59,
    "g": 52,
    "b": 213
  },
  "hsl": {
    "h": 242.609,
    "s": 65.714,
    "l": 51.961
  },
  "oklch": {
    "l": 0.45727,
    "c": 0.23327,
    "h": 274
  },
  "luminance": 0.0819
}

Semantic roles & 50–950 ramp

primary
#3B34D5
secondary
#D3D68F
accent
#E93FE1
background
#F9F6FE
surface
#F2ECFC
border
#CCC7D5
text
#0D0716
muted
#7E7A84

Preview Lab

Preview with #3B34D5

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

Preview Lab → · Contrast checker → · Palette generator →

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