#3835AA#3835AA

#3835AA is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.4% C 0.180 H 276.2°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#3835AA
RGBrgb(56, 53, 170)
HSLhsl(242, 52%, 44%)
HSVhsv(242, 69%, 67%)
CMYKcmyk(67.1%, 68.8%, 0%, 33.3%)
CIE-LABlab(30.13, 38.44, -62.14)
CIE-LCHlch(30.13, 73.07, 301.74°)
OKLaboklab(41.38% 0.0194 -0.1794)
OKLCHoklch(41.38% 0.18 276.2)
XYZxyz(10.1573, 6.2884, 38.7009)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3835AA #A7AA35
analogous
#356CAA #3835AA #7235AA
triadic
#3835AA #AA3835 #35AA38
tetradic
#3835AA #AA356C #A7AA35 #35AA72
square
#3835AA #AA356C #A7AA35 #35AA72
split-complementary
#3835AA #AA7235 #6CAA35
monochromatic
#19184D #29267B #3835AA #5653C9 #8482D8

Accessibility & contrast

On white

9.30
#3835AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3835AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3835AA#FFFFFF#000000##FFFFFF
##3835AA1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3835aa;
/* rgb */ color: rgb(56, 53, 170);
/* oklch */ color: oklch(41.4% 0.180 276.2);
Tailwind
colors: {
  custom: {
    50: '#7e6dc4',
    500: '#3835aa',
    950: '#000000',
  },
}
SCSS
$custom: #3835aa;
$custom-light: #7e6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3835aa",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 241.538,
    "s": 52.466,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41378,
    "c": 0.18045,
    "h": 276.2
  },
  "luminance": 0.06289
}

Semantic roles & 50–950 ramp

primary
#3835AA
secondary
#BFC17A
accent
#DC4CD8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3835AA

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

Preview Lab → · Contrast checker → · Palette generator →

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