#3A34DD#3A34DD

#3A34DD is a mid, highly saturated blue. Relative luminance 0.086; OKLCH L 46.5% C 0.243 H 273.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#3A34DD
RGBrgb(58, 52, 221)
HSLhsl(242, 71%, 54%)
HSVhsv(242, 76%, 87%)
CMYKcmyk(73.8%, 76.5%, 0%, 13.3%)
CIE-LABlab(35.15, 55.71, -83.76)
CIE-LCHlch(35.15, 100.60, 303.63°)
OKLaboklab(46.51% 0.0133 -0.2424)
OKLCHoklch(46.51% 0.243 273.1)
XYZxyz(16.0197, 8.5743, 69.2033)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34DD #D7DD34
analogous
#3482DD #3A34DD #8E34DD
triadic
#3A34DD #DD3A34 #34DD3A
tetradic
#3A34DD #DD3482 #D7DD34 #34DD8E
square
#3A34DD #DD3482 #D7DD34 #34DD8E
split-complementary
#3A34DD #DD8E34 #82DD34
monochromatic
#191681 #241EB5 #3A34DD #6D68E6 #A09DEF

Accessibility & contrast

On white

7.73
#3A34DD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3A34DD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34DD
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34DD#FFFFFF#000000##FFFFFF
##3A34DD1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BE2
Deuteranopia (green-blind)
#004ADA
Tritanopia (blue-blind)
#006787
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a34dd;
/* rgb */ color: rgb(58, 52, 221);
/* oklch */ color: oklch(46.5% 0.243 273.1);
Tailwind
colors: {
  custom: {
    50: '#8a6fe9',
    500: '#3a34dd',
    950: '#000000',
  },
}
SCSS
$custom: #3a34dd;
$custom-light: #8a6fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34dd",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 242.13,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.46507,
    "c": 0.24275,
    "h": 273.1
  },
  "luminance": 0.08576
}

Semantic roles & 50–950 ramp

primary
#3A34DD
secondary
#D8DB92
accent
#EE3AE8
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #3A34DD

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

Preview Lab → · Contrast checker → · Palette generator →

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