#3845AE#3845AE

#3845AE is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.166 H 272.3°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3845AE
RGBrgb(56, 69, 174)
HSLhsl(233, 51%, 45%)
HSVhsv(233, 68%, 68%)
CMYKcmyk(67.8%, 60.3%, 0%, 31.8%)
CIE-LABlab(34.30, 29.76, -57.71)
CIE-LCHlch(34.30, 64.93, 297.27°)
OKLaboklab(44.53% 0.0068 -0.1663)
OKLCHoklch(44.53% 0.166 272.3)
XYZxyz(11.3964, 8.1519, 41.0091)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3845AE #AEA138
analogous
#3880AE #3845AE #6638AE
triadic
#3845AE #AE3845 #45AE38
tetradic
#3845AE #AE3880 #AEA138 #38AE66
square
#3845AE #AE3880 #AEA138 #38AE66
split-complementary
#3845AE #AE6638 #80AE38
monochromatic
#1A2051 #293380 #3845AE #5966CA #8891D9

Accessibility & contrast

On white

7.98
#3845AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3845AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3845AE#FFFFFF#000000##FFFFFF
##3845AE1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B1
Deuteranopia (green-blind)
#004BAC
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3845ae;
/* rgb */ color: rgb(56, 69, 174);
/* oklch */ color: oklch(44.5% 0.166 272.3);
Tailwind
colors: {
  custom: {
    50: '#7d78c7',
    500: '#3845ae',
    950: '#000000',
  },
}
SCSS
$custom: #3845ae;
$custom-light: #7d78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3845ae",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 233.39,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.44533,
    "c": 0.16647,
    "h": 272.3
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3845AE

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

Preview Lab → · Contrast checker → · Palette generator →

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