#3B34B8#3B34B8

#3B34B8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.8% C 0.199 H 276.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#3B34B8
RGBrgb(59, 52, 184)
HSLhsl(243, 56%, 46%)
HSVhsv(243, 72%, 72%)
CMYKcmyk(67.9%, 71.7%, 0%, 27.8%)
CIE-LABlab(31.45, 44.05, -68.30)
CIE-LCHlch(31.45, 81.28, 302.82°)
OKLaboklab(42.79% 0.0217 -0.1973)
OKLCHoklch(42.79% 0.199 276.3)
XYZxyz(11.6805, 6.8454, 46.0439)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B34B8 #B1B834
analogous
#346FB8 #3B34B8 #7D34B8
triadic
#3B34B8 #B83B34 #34B83B
tetradic
#3B34B8 #B8346F #B1B834 #34B87D
square
#3B34B8 #B8346F #B1B834 #34B87D
split-complementary
#3B34B8 #B87D34 #6FB834
monochromatic
#1C1959 #2C2788 #3B34B8 #5F59D0 #8D89DE

Accessibility & contrast

On white

8.86
#3B34B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3B34B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B34B8
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B34B8#FFFFFF#000000##FFFFFF
##3B34B81.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3b34b8;
/* rgb */ color: rgb(59, 52, 184);
/* oklch */ color: oklch(42.8% 0.199 276.3);
Tailwind
colors: {
  custom: {
    50: '#826dcf',
    500: '#3b34b8',
    950: '#000000',
  },
}
SCSS
$custom: #3b34b8;
$custom-light: #826dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b34b8",
  "rgb": {
    "r": 59,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 243.182,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42785,
    "c": 0.19853,
    "h": 276.3
  },
  "luminance": 0.06846
}

Semantic roles & 50–950 ramp

primary
#3B34B8
secondary
#C4C880
accent
#DF49D7
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3B34B8

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

Preview Lab → · Contrast checker → · Palette generator →

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