#3834AD#3834AD

#3834AD is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.185 H 276.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#3834AD
RGBrgb(56, 52, 173)
HSLhsl(242, 54%, 44%)
HSVhsv(242, 70%, 68%)
CMYKcmyk(67.6%, 69.9%, 0%, 32.2%)
CIE-LABlab(30.19, 40.05, -63.84)
CIE-LCHlch(30.19, 75.36, 302.10°)
OKLaboklab(41.51% 0.0197 -0.1844)
OKLCHoklch(41.51% 0.185 276.1)
XYZxyz(10.3992, 6.3129, 40.1976)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3834AD #A9AD34
analogous
#346DAD #3834AD #7434AD
triadic
#3834AD #AD3834 #34AD38
tetradic
#3834AD #AD346D #A9AD34 #34AD74
square
#3834AD #AD346D #A9AD34 #34AD74
split-complementary
#3834AD #AD7434 #6DAD34
monochromatic
#1A184F #29267E #3834AD #5753CB #8582D9

Accessibility & contrast

On white

9.28
#3834AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3834AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3834AD
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3834AD#FFFFFF#000000##FFFFFF
##3834AD1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3834ad;
/* rgb */ color: rgb(56, 52, 173);
/* oklch */ color: oklch(41.5% 0.185 276.1);
Tailwind
colors: {
  custom: {
    50: '#7e6cc7',
    500: '#3834ad',
    950: '#000000',
  },
}
SCSS
$custom: #3834ad;
$custom-light: #7e6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3834ad",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 241.983,
    "s": 53.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41506,
    "c": 0.18542,
    "h": 276.1
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#3834AD
secondary
#C0C37A
accent
#DD4BD8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3834AD

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

Preview Lab → · Contrast checker → · Palette generator →

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