#3846AD#3846AD

#3846AD is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.164 H 272.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3846AD
RGBrgb(56, 70, 173)
HSLhsl(233, 51%, 45%)
HSVhsv(233, 68%, 68%)
CMYKcmyk(67.6%, 59.5%, 0%, 32.2%)
CIE-LABlab(34.47, 28.75, -56.83)
CIE-LCHlch(34.47, 63.69, 296.83°)
OKLaboklab(44.64% 0.0059 -0.1637)
OKLCHoklch(44.64% 0.164 272.1)
XYZxyz(11.3613, 8.2372, 40.5183)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3846AD #AD9F38
analogous
#3880AD #3846AD #6538AD
triadic
#3846AD #AD3846 #46AD38
tetradic
#3846AD #AD3880 #AD9F38 #38AD65
square
#3846AD #AD3880 #AD9F38 #38AD65
split-complementary
#3846AD #AD6538 #80AD38
monochromatic
#1A2151 #29337F #3846AD #5966C9 #8791D8

Accessibility & contrast

On white

7.93
#3846AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3846AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3846AD
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3846AD#FFFFFF#000000##FFFFFF
##3846AD1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#004CAB
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3846ad;
/* rgb */ color: rgb(56, 70, 173);
/* oklch */ color: oklch(44.6% 0.164 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d79c6',
    500: '#3846ad',
    950: '#000000',
  },
}
SCSS
$custom: #3846ad;
$custom-light: #7d79c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3846ad",
  "rgb": {
    "r": 56,
    "g": 70,
    "b": 173
  },
  "hsl": {
    "h": 232.821,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44638,
    "c": 0.16385,
    "h": 272.1
  },
  "luminance": 0.08238
}

Semantic roles & 50–950 ramp

primary
#3846AD
secondary
#C2BA7F
accent
#CA4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3846AD

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

Preview Lab → · Contrast checker → · Palette generator →

#3846AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva