#3834AE#3834AE

#3834AE is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.187 H 276.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#3834AE
RGBrgb(56, 52, 174)
HSLhsl(242, 54%, 44%)
HSVhsv(242, 70%, 68%)
CMYKcmyk(67.8%, 70.1%, 0%, 31.8%)
CIE-LABlab(30.28, 40.39, -64.28)
CIE-LCHlch(30.28, 75.92, 302.14°)
OKLaboklab(41.6% 0.0196 -0.1857)
OKLCHoklch(41.6% 0.187 276)
XYZxyz(10.4964, 6.3518, 40.7091)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3834AE #AAAE34
analogous
#346DAE #3834AE #7534AE
triadic
#3834AE #AE3834 #34AE38
tetradic
#3834AE #AE346D #AAAE34 #34AE75
square
#3834AE #AE346D #AAAE34 #34AE75
split-complementary
#3834AE #AE7534 #6DAE34
monochromatic
#1A1850 #29267F #3834AE #5753CC #8583DA

Accessibility & contrast

On white

9.25
#3834AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3834AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3834AE
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3834AE#FFFFFF#000000##FFFFFF
##3834AE1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3834ae;
/* rgb */ color: rgb(56, 52, 174);
/* oklch */ color: oklch(41.6% 0.187 276.0);
Tailwind
colors: {
  custom: {
    50: '#7f6cc7',
    500: '#3834ae',
    950: '#000000',
  },
}
SCSS
$custom: #3834ae;
$custom-light: #7f6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3834ae",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 241.967,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41603,
    "c": 0.1867,
    "h": 276
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#3834AE
secondary
#C1C37B
accent
#DD4AD9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3834AE

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

Preview Lab → · Contrast checker → · Palette generator →

#3834AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva