#3839B9#3839B9

#3839B9 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.195 H 274.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#3839B9
RGBrgb(56, 57, 185)
HSLhsl(240, 54%, 47%)
HSVhsv(240, 70%, 73%)
CMYKcmyk(69.7%, 69.2%, 0%, 27.5%)
CIE-LABlab(32.41, 41.10, -67.33)
CIE-LCHlch(32.41, 78.88, 301.40°)
OKLaboklab(43.45% 0.0147 -0.1946)
OKLCHoklch(43.45% 0.195 274.3)
XYZxyz(11.8481, 7.2687, 46.6681)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839B9 #B9B838
analogous
#387AB9 #3839B9 #7838B9
triadic
#3839B9 #B93839 #39B938
tetradic
#3839B9 #B9387A #B9B838 #38B978
square
#3839B9 #B9387A #B9B838 #38B978
split-complementary
#3839B9 #B97838 #7AB938
monochromatic
#1C1C5B #2A2B8A #3839B9 #5F60CF #8E8FDD

Accessibility & contrast

On white

8.56
#3839B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3839B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839B9
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839B9#FFFFFF#000000##FFFFFF
##3839B91.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BD
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3839b9;
/* rgb */ color: rgb(56, 57, 185);
/* oklch */ color: oklch(43.4% 0.195 274.3);
Tailwind
colors: {
  custom: {
    50: '#8070cf',
    500: '#3839b9',
    950: '#000000',
  },
}
SCSS
$custom: #3839b9;
$custom-light: #8070cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3839b9",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 239.535,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43449,
    "c": 0.19513,
    "h": 274.3
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#3839B9
secondary
#C8C785
accent
#DC4BDD
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3839B9

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

Preview Lab → · Contrast checker → · Palette generator →

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