#3A34DA#3A34DA

#3A34DA is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.2% C 0.239 H 273.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#3A34DA
RGBrgb(58, 52, 218)
HSLhsl(242, 69%, 53%)
HSVhsv(242, 76%, 85%)
CMYKcmyk(73.4%, 76.1%, 0%, 14.5%)
CIE-LABlab(34.83, 54.78, -82.57)
CIE-LCHlch(34.83, 99.09, 303.56°)
OKLaboklab(46.19% 0.014 -0.2389)
OKLCHoklch(46.19% 0.239 273.3)
XYZxyz(15.6236, 8.4159, 67.1171)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A34DA #D4DA34
analogous
#3481DA #3A34DA #8D34DA
triadic
#3A34DA #DA3A34 #34DA3A
tetradic
#3A34DA #DA3481 #D4DA34 #34DA8D
square
#3A34DA #DA3481 #D4DA34 #34DA8D
split-complementary
#3A34DA #DA8D34 #81DA34
monochromatic
#1A177D #2520B1 #3A34DA #6C68E3 #9E9CED

Accessibility & contrast

On white

7.83
#3A34DA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3A34DA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A34DA
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A34DA#FFFFFF#000000##FFFFFF
##3A34DA1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ADF
Deuteranopia (green-blind)
#004AD7
Tritanopia (blue-blind)
#006686
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a34da;
/* rgb */ color: rgb(58, 52, 218);
/* oklch */ color: oklch(46.2% 0.239 273.3);
Tailwind
colors: {
  custom: {
    50: '#896fe7',
    500: '#3a34da',
    950: '#000000',
  },
}
SCSS
$custom: #3a34da;
$custom-light: #896fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a34da",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 218
  },
  "hsl": {
    "h": 242.169,
    "s": 69.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.4619,
    "c": 0.23931,
    "h": 273.3
  },
  "luminance": 0.08417
}

Semantic roles & 50–950 ramp

primary
#3A34DA
secondary
#D6D991
accent
#EC3CE6
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #3A34DA

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

Preview Lab → · Contrast checker → · Palette generator →

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