#3835B2#3835B2

#3835B2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.191 H 275.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#3835B2
RGBrgb(56, 53, 178)
HSLhsl(241, 54%, 45%)
HSVhsv(241, 70%, 70%)
CMYKcmyk(68.5%, 70.2%, 0%, 30.2%)
CIE-LABlab(30.88, 41.13, -65.69)
CIE-LCHlch(30.88, 77.51, 302.05°)
OKLaboklab(42.15% 0.0183 -0.1898)
OKLCHoklch(42.15% 0.191 275.5)
XYZxyz(10.9372, 6.6003, 42.8084)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3835B2 #AFB235
analogous
#3570B2 #3835B2 #7635B2
triadic
#3835B2 #B23835 #35B238
tetradic
#3835B2 #B23570 #AFB235 #35B276
square
#3835B2 #B23570 #AFB235 #35B276
split-complementary
#3835B2 #B27635 #70B235
monochromatic
#1A1954 #292783 #3835B2 #5A57CD #8886DB

Accessibility & contrast

On white

9.05
#3835B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3835B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3835B2#FFFFFF#000000##FFFFFF
##3835B21.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0043B0
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3835b2;
/* rgb */ color: rgb(56, 53, 178);
/* oklch */ color: oklch(42.1% 0.191 275.5);
Tailwind
colors: {
  custom: {
    50: '#7f6dca',
    500: '#3835b2',
    950: '#000000',
  },
}
SCSS
$custom: #3835b2;
$custom-light: #7f6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#3835b2",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 178
  },
  "hsl": {
    "h": 241.44,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42146,
    "c": 0.19066,
    "h": 275.5
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#3835B2
secondary
#C3C57E
accent
#DD4ADA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3835B2

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

Preview Lab → · Contrast checker → · Palette generator →

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