#3A34AA#3A34AA

#3A34AA is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.181 H 277.2°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#3A34AA
RGBrgb(58, 52, 170)
HSLhsl(243, 53%, 44%)
HSVhsv(243, 69%, 67%)
CMYKcmyk(65.9%, 69.4%, 0%, 33.3%)
CIE-LABlab(30.05, 39.31, -62.26)
CIE-LCHlch(30.05, 73.63, 302.27°)
OKLaboklab(41.36% 0.0227 -0.1797)
OKLCHoklch(41.36% 0.181 277.2)
XYZxyz(10.2263, 6.2569, 38.6912)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34AA #A4AA34
analogous
#3469AA #3A34AA #7534AA
triadic
#3A34AA #AA3A34 #34AA3A
tetradic
#3A34AA #AA3469 #A4AA34 #34AA75
square
#3A34AA #AA3469 #A4AA34 #34AA75
split-complementary
#3A34AA #AA7534 #69AA34
monochromatic
#1A174C #2A267B #3A34AA #5751CA #8580D8

Accessibility & contrast

On white

9.33
#3A34AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3A34AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34AA
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34AA#FFFFFF#000000##FFFFFF
##3A34AA1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3a34aa;
/* rgb */ color: rgb(58, 52, 170);
/* oklch */ color: oklch(41.4% 0.181 277.2);
Tailwind
colors: {
  custom: {
    50: '#7f6cc4',
    500: '#3a34aa',
    950: '#000000',
  },
}
SCSS
$custom: #3a34aa;
$custom-light: #7f6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34aa",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 243.051,
    "s": 53.153,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4136,
    "c": 0.18113,
    "h": 277.2
  },
  "luminance": 0.06258
}

Semantic roles & 50–950 ramp

primary
#3A34AA
secondary
#BEC178
accent
#DD4BD5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3A34AA

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

Preview Lab → · Contrast checker → · Palette generator →

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