#3832A2#3832A2

#3832A2 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.174 H 277.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3832A2
RGBrgb(56, 50, 162)
HSLhsl(243, 53%, 42%)
HSVhsv(243, 69%, 64%)
CMYKcmyk(65.4%, 69.1%, 0%, 36.5%)
CIE-LABlab(28.72, 37.57, -59.63)
CIE-LCHlch(28.72, 70.48, 302.21°)
OKLaboklab(40.14% 0.0227 -0.172)
OKLCHoklch(40.14% 0.174 277.5)
XYZxyz(9.2910, 5.7298, 34.7918)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3832A2 #9CA232
analogous
#3264A2 #3832A2 #7032A2
triadic
#3832A2 #A23832 #32A238
tetradic
#3832A2 #A23264 #9CA232 #32A270
square
#3832A2 #A23264 #9CA232 #32A270
split-complementary
#3832A2 #A27032 #64A232
monochromatic
#181544 #282473 #3832A2 #514AC7 #7E79D6

Accessibility & contrast

On white

9.78
#3832A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3832A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3832A2
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3832A2#FFFFFF#000000##FFFFFF
##3832A21.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3832a2;
/* rgb */ color: rgb(56, 50, 162);
/* oklch */ color: oklch(40.1% 0.174 277.5);
Tailwind
colors: {
  custom: {
    50: '#7c6bbf',
    500: '#3832a2',
    950: '#000000',
  },
}
SCSS
$custom: #3832a2;
$custom-light: #7c6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3832a2",
  "rgb": {
    "r": 56,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 243.214,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40136,
    "c": 0.17354,
    "h": 277.5
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#3832A2
secondary
#BABE72
accent
#DC4CD4
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3832A2

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

Preview Lab → · Contrast checker → · Palette generator →

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