#3845AA#3845AA

#3845AA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.2% C 0.161 H 272.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3845AA
RGBrgb(56, 69, 170)
HSLhsl(233, 50%, 44%)
HSVhsv(233, 67%, 67%)
CMYKcmyk(67.1%, 59.4%, 0%, 33.3%)
CIE-LABlab(33.98, 28.32, -55.85)
CIE-LCHlch(33.98, 62.62, 296.89°)
OKLaboklab(44.2% 0.0068 -0.1608)
OKLCHoklch(44.2% 0.161 272.4)
XYZxyz(11.0123, 7.9983, 38.9859)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3845AA #AA9D38
analogous
#387EAA #3845AA #6438AA
triadic
#3845AA #AA3845 #45AA38
tetradic
#3845AA #AA387E #AA9D38 #38AA64
square
#3845AA #AA387E #AA9D38 #38AA64
split-complementary
#3845AA #AA6438 #7EAA38
monochromatic
#1A204E #29327C #3845AA #5764C8 #858FD7

Accessibility & contrast

On white

8.08
#3845AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3845AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3845AA#FFFFFF#000000##FFFFFF
##3845AA1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3845aa;
/* rgb */ color: rgb(56, 69, 170);
/* oklch */ color: oklch(44.2% 0.161 272.4);
Tailwind
colors: {
  custom: {
    50: '#7c78c4',
    500: '#3845aa',
    950: '#000000',
  },
}
SCSS
$custom: #3845aa;
$custom-light: #7c78c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3845aa",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 233.158,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44198,
    "c": 0.16099,
    "h": 272.4
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

primary
#3845AA
secondary
#C1B97D
accent
#CA4EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3845AA

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

Preview Lab → · Contrast checker → · Palette generator →

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