#3825A2#3825A2

#3825A2 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.187 H 279.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#3825A2
RGBrgb(56, 37, 162)
HSLhsl(249, 63%, 39%)
HSVhsv(249, 77%, 64%)
CMYKcmyk(65.4%, 77.2%, 0%, 36.5%)
CIE-LABlab(26.07, 44.94, -63.98)
CIE-LCHlch(26.07, 78.19, 305.09°)
OKLaboklab(38.25% 0.0316 -0.1847)
OKLCHoklch(38.25% 0.187 279.7)
XYZxyz(8.8120, 4.7718, 34.6321)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3825A2 #8FA225
analogous
#2551A2 #3825A2 #7725A2
triadic
#3825A2 #A23825 #25A238
tetradic
#3825A2 #A22551 #8FA225 #25A277
square
#3825A2 #A22551 #8FA225 #25A277
split-complementary
#3825A2 #A27725 #51A225
monochromatic
#160E3E #271A70 #3825A2 #4B34D1 #7765DC

Accessibility & contrast

On white

10.74
#3825A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3825A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3825A2
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3825A2#FFFFFF#000000##FFFFFF
##3825A21.0010.741.9510.74
#FFFFFF10.741.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004962
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3825a2;
/* rgb */ color: rgb(56, 37, 162);
/* oklch */ color: oklch(38.3% 0.187 279.7);
Tailwind
colors: {
  custom: {
    50: '#7d63bf',
    500: '#3825a2',
    950: '#000000',
  },
}
SCSS
$custom: #3825a2;
$custom-light: #7d63bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3825a2",
  "rgb": {
    "r": 56,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 249.12,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38254,
    "c": 0.18738,
    "h": 279.7
  },
  "luminance": 0.04773
}

Semantic roles & 50–950 ramp

primary
#3825A2
secondary
#B3C261
accent
#E642CD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3825A2

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

Preview Lab → · Contrast checker → · Palette generator →

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