#3A34B7#3A34B7

#3A34B7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.6% C 0.198 H 276.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#3A34B7
RGBrgb(58, 52, 183)
HSLhsl(243, 56%, 46%)
HSVhsv(243, 72%, 72%)
CMYKcmyk(68.3%, 71.6%, 0%, 28.2%)
CIE-LABlab(31.29, 43.61, -67.99)
CIE-LCHlch(31.29, 80.77, 302.68°)
OKLaboklab(42.62% 0.0206 -0.1964)
OKLCHoklch(42.62% 0.198 276)
XYZxyz(11.5174, 6.7734, 45.4910)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34B7 #B1B734
analogous
#346FB7 #3A34B7 #7B34B7
triadic
#3A34B7 #B73A34 #34B73A
tetradic
#3A34B7 #B7346F #B1B734 #34B77B
square
#3A34B7 #B7346F #B1B734 #34B77B
split-complementary
#3A34B7 #B77B34 #6FB734
monochromatic
#1C1958 #2B2687 #3A34B7 #5E59D0 #8C88DD

Accessibility & contrast

On white

8.92
#3A34B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3A34B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34B7
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34B7#FFFFFF#000000##FFFFFF
##3A34B71.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a34b7;
/* rgb */ color: rgb(58, 52, 183);
/* oklch */ color: oklch(42.6% 0.198 276.0);
Tailwind
colors: {
  custom: {
    50: '#816dce',
    500: '#3a34b7',
    950: '#000000',
  },
}
SCSS
$custom: #3a34b7;
$custom-light: #816dce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34b7",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 242.748,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42619,
    "c": 0.19752,
    "h": 276
  },
  "luminance": 0.06774
}

Semantic roles & 50–950 ramp

primary
#3A34B7
secondary
#C4C780
accent
#DF49D8
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3A34B7

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

Preview Lab → · Contrast checker → · Palette generator →

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