#3835B9#3835B9

#3835B9 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.8% C 0.199 H 274.9°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#3835B9
RGBrgb(56, 53, 185)
HSLhsl(241, 55%, 47%)
HSVhsv(241, 71%, 73%)
CMYKcmyk(69.7%, 71.4%, 0%, 27.5%)
CIE-LABlab(31.55, 43.46, -68.74)
CIE-LCHlch(31.55, 81.33, 302.30°)
OKLaboklab(42.83% 0.0172 -0.1987)
OKLCHoklch(42.83% 0.199 274.9)
XYZxyz(11.6581, 6.8886, 46.6048)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3835B9 #B6B935
analogous
#3574B9 #3835B9 #7A35B9
triadic
#3835B9 #B93835 #35B938
tetradic
#3835B9 #B93574 #B6B935 #35B97A
square
#3835B9 #B93574 #B6B935 #35B97A
split-complementary
#3835B9 #B97A35 #74B935
monochromatic
#1B1A5A #2A2789 #3835B9 #5E5BD0 #8D8BDE

Accessibility & contrast

On white

8.83
#3835B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3835B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3835B9#FFFFFF#000000##FFFFFF
##3835B91.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BD
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#005A73
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3835b9;
/* rgb */ color: rgb(56, 53, 185);
/* oklch */ color: oklch(42.8% 0.199 274.9);
Tailwind
colors: {
  custom: {
    50: '#816ecf',
    500: '#3835b9',
    950: '#000000',
  },
}
SCSS
$custom: #3835b9;
$custom-light: #816ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#3835b9",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 241.364,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42832,
    "c": 0.19943,
    "h": 274.9
  },
  "luminance": 0.0689
}

Semantic roles & 50–950 ramp

primary
#3835B9
secondary
#C6C882
accent
#DF49DB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3835B9

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

Preview Lab → · Contrast checker → · Palette generator →

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