#3845AD#3845AD

#3845AD is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.165 H 272.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#3845AD
RGBrgb(56, 69, 173)
HSLhsl(233, 51%, 45%)
HSVhsv(233, 68%, 68%)
CMYKcmyk(67.6%, 60.1%, 0%, 32.2%)
CIE-LABlab(34.22, 29.40, -57.25)
CIE-LCHlch(34.22, 64.36, 297.18°)
OKLaboklab(44.45% 0.0068 -0.165)
OKLCHoklch(44.45% 0.165 272.3)
XYZxyz(11.2993, 8.1131, 40.4976)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3845AD #ADA038
analogous
#3880AD #3845AD #6538AD
triadic
#3845AD #AD3845 #45AD38
tetradic
#3845AD #AD3880 #ADA038 #38AD65
square
#3845AD #AD3880 #ADA038 #38AD65
split-complementary
#3845AD #AD6538 #80AD38
monochromatic
#1A2051 #29337F #3845AD #5965C9 #8790D8

Accessibility & contrast

On white

8.01
#3845AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3845AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3845AD
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3845AD#FFFFFF#000000##FFFFFF
##3845AD1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3845ad;
/* rgb */ color: rgb(56, 69, 173);
/* oklch */ color: oklch(44.4% 0.165 272.3);
Tailwind
colors: {
  custom: {
    50: '#7d78c6',
    500: '#3845ad',
    950: '#000000',
  },
}
SCSS
$custom: #3845ad;
$custom-light: #7d78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3845ad",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 233.333,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44449,
    "c": 0.16511,
    "h": 272.3
  },
  "luminance": 0.08114
}

Semantic roles & 50–950 ramp

primary
#3845AD
secondary
#C2BB7F
accent
#CB4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3845AD

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

Preview Lab → · Contrast checker → · Palette generator →

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