#3835AE#3835AE

#3835AE is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.8% C 0.186 H 275.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#3835AE
RGBrgb(56, 53, 174)
HSLhsl(241, 53%, 45%)
HSVhsv(241, 70%, 68%)
CMYKcmyk(67.8%, 69.5%, 0%, 31.8%)
CIE-LABlab(30.50, 39.79, -63.92)
CIE-LCHlch(30.50, 75.30, 301.90°)
OKLaboklab(41.76% 0.0189 -0.1846)
OKLCHoklch(41.76% 0.186 275.8)
XYZxyz(10.5415, 6.4420, 40.7241)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3835AE #ABAE35
analogous
#356EAE #3835AE #7535AE
triadic
#3835AE #AE3835 #35AE38
tetradic
#3835AE #AE356E #ABAE35 #35AE75
square
#3835AE #AE356E #ABAE35 #35AE75
split-complementary
#3835AE #AE7535 #6EAE35
monochromatic
#1A1850 #29277F #3835AE #5855CB #8684DA

Accessibility & contrast

On white

9.18
#3835AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3835AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3835AE
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3835AE#FFFFFF#000000##FFFFFF
##3835AE1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3835ae;
/* rgb */ color: rgb(56, 53, 174);
/* oklch */ color: oklch(41.8% 0.186 275.8);
Tailwind
colors: {
  custom: {
    50: '#7e6dc7',
    500: '#3835ae',
    950: '#000000',
  },
}
SCSS
$custom: #3835ae;
$custom-light: #7e6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3835ae",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 174
  },
  "hsl": {
    "h": 241.488,
    "s": 53.304,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.18558,
    "h": 275.8
  },
  "luminance": 0.06443
}

Semantic roles & 50–950 ramp

primary
#3835AE
secondary
#C1C37C
accent
#DD4BD9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3835AE

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

Preview Lab → · Contrast checker → · Palette generator →

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