#3B34B2#3B34B2

#3B34B2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.2% C 0.191 H 276.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#3B34B2
RGBrgb(59, 52, 178)
HSLhsl(243, 55%, 45%)
HSVhsv(243, 71%, 70%)
CMYKcmyk(66.9%, 70.8%, 0%, 30.2%)
CIE-LABlab(30.88, 42.09, -65.69)
CIE-LCHlch(30.88, 78.01, 302.65°)
OKLaboklab(42.2% 0.0227 -0.1897)
OKLCHoklch(42.2% 0.191 276.8)
XYZxyz(11.0649, 6.5992, 42.8015)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B34B2 #ABB234
analogous
#346CB2 #3B34B2 #7A34B2
triadic
#3B34B2 #B23B34 #34B23B
tetradic
#3B34B2 #B2346C #ABB234 #34B27A
square
#3B34B2 #B2346C #ABB234 #34B27A
split-complementary
#3B34B2 #B27A34 #6CB234
monochromatic
#1C1853 #2B2683 #3B34B2 #5C56CE #8A85DB

Accessibility & contrast

On white

9.05
#3B34B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3B34B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B34B2
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B34B2#FFFFFF#000000##FFFFFF
##3B34B21.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3b34b2;
/* rgb */ color: rgb(59, 52, 178);
/* oklch */ color: oklch(42.2% 0.191 276.8);
Tailwind
colors: {
  custom: {
    50: '#816dca',
    500: '#3b34b2',
    950: '#000000',
  },
}
SCSS
$custom: #3b34b2;
$custom-light: #816dca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b34b2",
  "rgb": {
    "r": 59,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 243.333,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42199,
    "c": 0.19105,
    "h": 276.8
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#3B34B2
secondary
#C1C57D
accent
#DE4AD6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3B34B2

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

Preview Lab → · Contrast checker → · Palette generator →

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