#3841B9#3841B9

#3841B9 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.8% C 0.186 H 272.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3841B9
RGBrgb(56, 65, 185)
HSLhsl(236, 54%, 47%)
HSVhsv(236, 70%, 73%)
CMYKcmyk(69.7%, 64.9%, 0%, 27.5%)
CIE-LABlab(34.24, 36.19, -64.33)
CIE-LCHlch(34.24, 73.81, 299.36°)
OKLaboklab(44.78% 0.0094 -0.1858)
OKLCHoklch(44.78% 0.186 272.9)
XYZxyz(12.2752, 8.1230, 46.8105)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3841B9 #B9B038
analogous
#3882B9 #3841B9 #7038B9
triadic
#3841B9 #B93841 #41B938
tetradic
#3841B9 #B93882 #B9B038 #38B970
square
#3841B9 #B93882 #B9B038 #38B970
split-complementary
#3841B9 #B97038 #82B938
monochromatic
#1C205B #2A308A #3841B9 #5F67CF #8E94DD

Accessibility & contrast

On white

8.00
#3841B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3841B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3841B9
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3841B9#FFFFFF#000000##FFFFFF
##3841B91.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#004BB7
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3841b9;
/* rgb */ color: rgb(56, 65, 185);
/* oklch */ color: oklch(44.8% 0.186 272.9);
Tailwind
colors: {
  custom: {
    50: '#8076cf',
    500: '#3841b9',
    950: '#000000',
  },
}
SCSS
$custom: #3841b9;
$custom-light: #8076cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3841b9",
  "rgb": {
    "r": 56,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 235.814,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44775,
    "c": 0.18602,
    "h": 272.9
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

primary
#3841B9
secondary
#C8C385
accent
#D34BDD
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3841B9

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

Preview Lab → · Contrast checker → · Palette generator →

#3841B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva