#3845B0#3845B0

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

Color values

HEX#3845B0
RGBrgb(56, 69, 176)
HSLhsl(234, 52%, 45%)
HSVhsv(234, 68%, 69%)
CMYKcmyk(68.2%, 60.8%, 0%, 31%)
CIE-LABlab(34.46, 30.47, -58.64)
CIE-LCHlch(34.46, 66.08, 297.46°)
OKLaboklab(44.7% 0.0067 -0.1691)
OKLCHoklch(44.7% 0.169 272.3)
XYZxyz(11.5928, 8.2305, 42.0436)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3845B0 #B0A338
analogous
#3881B0 #3845B0 #6738B0
triadic
#3845B0 #B03845 #45B038
tetradic
#3845B0 #B03881 #B0A338 #38B067
square
#3845B0 #B03881 #B0A338 #38B067
split-complementary
#3845B0 #B06738 #81B038
monochromatic
#1A2153 #293382 #3845B0 #5B67CB #8992D9

Accessibility & contrast

On white

7.94
#3845B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3845B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3845B0#FFFFFF#000000##FFFFFF
##3845B01.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3845b0;
/* rgb */ color: rgb(56, 69, 176);
/* oklch */ color: oklch(44.7% 0.169 272.3);
Tailwind
colors: {
  custom: {
    50: '#7e78c8',
    500: '#3845b0',
    950: '#000000',
  },
}
SCSS
$custom: #3845b0;
$custom-light: #7e78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3845b0",
  "rgb": {
    "r": 56,
    "g": 69,
    "b": 176
  },
  "hsl": {
    "h": 233.5,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44703,
    "c": 0.16919,
    "h": 272.3
  },
  "luminance": 0.08232
}

Semantic roles & 50–950 ramp

primary
#3845B0
secondary
#C4BC80
accent
#CC4DDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3845B0

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

Preview Lab → · Contrast checker → · Palette generator →

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