#3839BA#3839BA

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

Color values

HEX#3839BA
RGBrgb(56, 57, 186)
HSLhsl(240, 54%, 47%)
HSVhsv(240, 70%, 73%)
CMYKcmyk(69.9%, 69.4%, 0%, 27.1%)
CIE-LABlab(32.50, 41.44, -67.76)
CIE-LCHlch(32.50, 79.43, 301.45°)
OKLaboklab(43.55% 0.0146 -0.1958)
OKLCHoklch(43.55% 0.196 274.3)
XYZxyz(11.9540, 7.3110, 47.2260)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839BA #BAB938
analogous
#387ABA #3839BA #7838BA
triadic
#3839BA #BA3839 #39BA38
tetradic
#3839BA #BA387A #BAB938 #38BA78
square
#3839BA #BA387A #BAB938 #38BA78
split-complementary
#3839BA #BA7838 #7ABA38
monochromatic
#1C1C5C #2A2B8B #3839BA #6061CF #8F90DD

Accessibility & contrast

On white

8.53
#3839BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3839BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839BA
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839BA#FFFFFF#000000##FFFFFF
##3839BA1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BE
Deuteranopia (green-blind)
#0046B8
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3839ba;
/* rgb */ color: rgb(56, 57, 186);
/* oklch */ color: oklch(43.5% 0.196 274.3);
Tailwind
colors: {
  custom: {
    50: '#8170d0',
    500: '#3839ba',
    950: '#000000',
  },
}
SCSS
$custom: #3839ba;
$custom-light: #8170d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3839ba",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 186
  },
  "hsl": {
    "h": 239.538,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43545,
    "c": 0.19639,
    "h": 274.3
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3839BA

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

Preview Lab → · Contrast checker → · Palette generator →

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