#3845A3#3845A3

#3845A3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.151 H 272.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#3845A3
RGBrgb(56, 69, 163)
HSLhsl(233, 49%, 43%)
HSVhsv(233, 66%, 64%)
CMYKcmyk(65.6%, 57.7%, 0%, 36.1%)
CIE-LABlab(33.44, 25.81, -52.54)
CIE-LCHlch(33.44, 58.53, 296.17°)
OKLaboklab(43.62% 0.0067 -0.1511)
OKLCHoklch(43.62% 0.151 272.5)
XYZxyz(10.3677, 7.7404, 35.5909)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3845A3 #A39638
analogous
#387AA3 #3845A3 #6038A3
triadic
#3845A3 #A33845 #45A338
tetradic
#3845A3 #A3387A #A39638 #38A360
square
#3845A3 #A3387A #A39638 #38A360
split-complementary
#3845A3 #A36038 #7AA338
monochromatic
#191E48 #283275 #3845A3 #5462C4 #828CD4

Accessibility & contrast

On white

8.24
#3845A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3845A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3845A3#FFFFFF#000000##FFFFFF
##3845A31.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#004AA1
Tritanopia (blue-blind)
#005C6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3845a3;
/* rgb */ color: rgb(56, 69, 163);
/* oklch */ color: oklch(43.6% 0.151 272.5);
Tailwind
colors: {
  custom: {
    50: '#7b78bf',
    500: '#3845a3',
    950: '#000000',
  },
}
SCSS
$custom: #3845a3;
$custom-light: #7b78bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3845a3",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 163
  },
  "hsl": {
    "h": 232.71,
    "s": 48.858,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43623,
    "c": 0.15126,
    "h": 272.5
  },
  "luminance": 0.07741
}

Semantic roles & 50–950 ramp

primary
#3845A3
secondary
#BDB579
accent
#C84FD8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3845A3

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

Preview Lab → · Contrast checker → · Palette generator →

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