#3A34B3#3A34B3

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

Color values

HEX#3A34B3
RGBrgb(58, 52, 179)
HSLhsl(243, 55%, 45%)
HSVhsv(243, 71%, 70%)
CMYKcmyk(67.6%, 70.9%, 0%, 29.8%)
CIE-LABlab(30.90, 42.29, -66.25)
CIE-LCHlch(30.90, 78.60, 302.56°)
OKLaboklab(42.23% 0.0213 -0.1913)
OKLCHoklch(42.23% 0.193 276.3)
XYZxyz(11.1069, 6.6092, 43.3295)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34B3 #ADB334
analogous
#346DB3 #3A34B3 #7A34B3
triadic
#3A34B3 #B33A34 #34B33A
tetradic
#3A34B3 #B3346D #ADB334 #34B37A
square
#3A34B3 #B3346D #ADB334 #34B37A
split-complementary
#3A34B3 #B37A34 #6DB334
monochromatic
#1B1854 #2B2684 #3A34B3 #5C56CE #8A86DC

Accessibility & contrast

On white

9.04
#3A34B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A34B3
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34B3#FFFFFF#000000##FFFFFF
##3A34B31.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3a34b3;
/* rgb */ color: rgb(58, 52, 179);
/* oklch */ color: oklch(42.2% 0.193 276.3);
Tailwind
colors: {
  custom: {
    50: '#806dcb',
    500: '#3a34b3',
    950: '#000000',
  },
}
SCSS
$custom: #3a34b3;
$custom-light: #806dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34b3",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 242.835,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42227,
    "c": 0.19253,
    "h": 276.3
  },
  "luminance": 0.0661
}

Semantic roles & 50–950 ramp

primary
#3A34B3
secondary
#C2C57D
accent
#DE49D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3A34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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