#3A34BB#3A34BB

#3A34BB is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 43.0% C 0.202 H 275.6°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#3A34BB
RGBrgb(58, 52, 187)
HSLhsl(243, 56%, 47%)
HSVhsv(243, 72%, 73%)
CMYKcmyk(69%, 72.2%, 0%, 26.7%)
CIE-LABlab(31.68, 44.91, -69.71)
CIE-LCHlch(31.68, 82.93, 302.79°)
OKLaboklab(43.01% 0.0199 -0.2015)
OKLCHoklch(43.01% 0.202 275.6)
XYZxyz(11.9396, 6.9423, 47.7149)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34BB #B5BB34
analogous
#3471BB #3A34BB #7E34BB
triadic
#3A34BB #BB3A34 #34BB3A
tetradic
#3A34BB #BB3471 #B5BB34 #34BB7E
square
#3A34BB #BB3471 #B5BB34 #34BB7E
split-complementary
#3A34BB #BB7E34 #71BB34
monochromatic
#1C195B #2B278B #3A34BB #605BD1 #8E8BDF

Accessibility & contrast

On white

8.79
#3A34BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3A34BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34BB
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34BB#FFFFFF#000000##FFFFFF
##3A34BB1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#0044B9
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a34bb;
/* rgb */ color: rgb(58, 52, 187);
/* oklch */ color: oklch(43.0% 0.202 275.6);
Tailwind
colors: {
  custom: {
    50: '#826dd1',
    500: '#3a34bb',
    950: '#000000',
  },
}
SCSS
$custom: #3a34bb;
$custom-light: #826dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34bb",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 242.667,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43014,
    "c": 0.20246,
    "h": 275.6
  },
  "luminance": 0.06943
}

Semantic roles & 50–950 ramp

primary
#3A34BB
secondary
#C6C982
accent
#E048D9
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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