#3835B7#3835B7

#3835B7 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.6% C 0.197 H 275.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#3835B7
RGBrgb(56, 53, 183)
HSLhsl(241, 55%, 46%)
HSVhsv(241, 71%, 72%)
CMYKcmyk(69.4%, 71%, 0%, 28.2%)
CIE-LABlab(31.36, 42.80, -67.87)
CIE-LCHlch(31.36, 80.24, 302.23°)
OKLaboklab(42.64% 0.0175 -0.1962)
OKLCHoklch(42.64% 0.197 275.1)
XYZxyz(11.4484, 6.8048, 45.5007)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3835B7 #B4B735
analogous
#3573B7 #3835B7 #7935B7
triadic
#3835B7 #B73835 #35B738
tetradic
#3835B7 #B73573 #B4B735 #35B779
square
#3835B7 #B73573 #B4B735 #35B779
split-complementary
#3835B7 #B77935 #73B735
monochromatic
#1B1A58 #292788 #3835B7 #5D5ACF #8B89DD

Accessibility & contrast

On white

8.89
#3835B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3835B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3835B7#FFFFFF#000000##FFFFFF
##3835B71.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3835b7;
/* rgb */ color: rgb(56, 53, 183);
/* oklch */ color: oklch(42.6% 0.197 275.1);
Tailwind
colors: {
  custom: {
    50: '#806dce',
    500: '#3835b7',
    950: '#000000',
  },
}
SCSS
$custom: #3835b7;
$custom-light: #806dce;
$custom-dark: #000000;
JSON
{
  "hex": "#3835b7",
  "rgb": {
    "r": 56,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 241.385,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42635,
    "c": 0.19694,
    "h": 275.1
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

primary
#3835B7
secondary
#C5C781
accent
#DE49DB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3835B7

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

Preview Lab → · Contrast checker → · Palette generator →

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