#3845B3#3845B3

#3845B3 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.173 H 272.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#3845B3
RGBrgb(56, 69, 179)
HSLhsl(234, 52%, 46%)
HSVhsv(234, 69%, 70%)
CMYKcmyk(68.7%, 61.5%, 0%, 29.8%)
CIE-LABlab(34.70, 31.54, -60.02)
CIE-LCHlch(34.70, 67.81, 297.72°)
OKLaboklab(44.96% 0.0067 -0.1731)
OKLCHoklch(44.96% 0.173 272.2)
XYZxyz(11.8930, 8.3505, 43.6241)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3845B3 #B3A638
analogous
#3882B3 #3845B3 #6938B3
triadic
#3845B3 #B33845 #45B338
tetradic
#3845B3 #B33882 #B3A638 #38B369
square
#3845B3 #B33882 #B3A638 #38B369
split-complementary
#3845B3 #B36938 #82B338
monochromatic
#1B2156 #293384 #3845B3 #5C68CC #8B93DB

Accessibility & contrast

On white

7.86
#3845B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3845B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3845B3#FFFFFF#000000##FFFFFF
##3845B31.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006175
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3845b3;
/* rgb */ color: rgb(56, 69, 179);
/* oklch */ color: oklch(45.0% 0.173 272.2);
Tailwind
colors: {
  custom: {
    50: '#7e78cb',
    500: '#3845b3',
    950: '#000000',
  },
}
SCSS
$custom: #3845b3;
$custom-light: #7e78cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3845b3",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 233.659,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4496,
    "c": 0.17324,
    "h": 272.2
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#3845B3
secondary
#C5BE82
accent
#CD4CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3845B3

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

Preview Lab → · Contrast checker → · Palette generator →

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