#3834A2#3834A2

#3834A2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.5% C 0.171 H 277.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#3834A2
RGBrgb(56, 52, 162)
HSLhsl(242, 51%, 42%)
HSVhsv(242, 68%, 64%)
CMYKcmyk(65.4%, 67.9%, 0%, 36.5%)
CIE-LABlab(29.17, 36.35, -58.89)
CIE-LCHlch(29.17, 69.20, 301.68°)
OKLaboklab(40.46% 0.0212 -0.1699)
OKLCHoklch(40.46% 0.171 277.1)
XYZxyz(9.3783, 5.9046, 34.8209)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3834A2 #9EA234
analogous
#3467A2 #3834A2 #6F34A2
triadic
#3834A2 #A23834 #34A238
tetradic
#3834A2 #A23467 #9EA234 #34A26F
square
#3834A2 #A23467 #9EA234 #34A26F
split-complementary
#3834A2 #A26F34 #67A234
monochromatic
#181645 #282574 #3834A2 #524DC6 #7F7CD5

Accessibility & contrast

On white

9.63
#3834A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3834A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3834A2
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3834A2#FFFFFF#000000##FFFFFF
##3834A21.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#005166
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3834a2;
/* rgb */ color: rgb(56, 52, 162);
/* oklch */ color: oklch(40.5% 0.171 277.1);
Tailwind
colors: {
  custom: {
    50: '#7c6cbf',
    500: '#3834a2',
    950: '#000000',
  },
}
SCSS
$custom: #3834a2;
$custom-light: #7c6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3834a2",
  "rgb": {
    "r": 56,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 242.182,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40461,
    "c": 0.17121,
    "h": 277.1
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#3834A2
secondary
#BBBE74
accent
#DB4DD6
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3834A2

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

Preview Lab → · Contrast checker → · Palette generator →

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