#3839BF#3839BF

#3839BF is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.0% C 0.203 H 273.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#3839BF
RGBrgb(56, 57, 191)
HSLhsl(240, 55%, 48%)
HSVhsv(240, 71%, 75%)
CMYKcmyk(70.7%, 70.2%, 0%, 25.1%)
CIE-LABlab(32.98, 43.12, -69.93)
CIE-LCHlch(32.98, 82.16, 301.66°)
OKLaboklab(44.03% 0.0139 -0.2022)
OKLCHoklch(44.03% 0.203 273.9)
XYZxyz(12.4949, 7.5274, 50.0746)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839BF #BFBE38
analogous
#387CBF #3839BF #7B38BF
triadic
#3839BF #BF3839 #39BF38
tetradic
#3839BF #BF387C #BFBE38 #38BF7B
square
#3839BF #BF387C #BFBE38 #38BF7B
split-complementary
#3839BF #BF7B38 #7CBF38
monochromatic
#1C1D60 #2A2B90 #3839BF #6364D1 #9293DF

Accessibility & contrast

On white

8.38
#3839BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3839BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839BF
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839BF#FFFFFF#000000##FFFFFF
##3839BF1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#0047BD
Tritanopia (blue-blind)
#005E78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3839bf;
/* rgb */ color: rgb(56, 57, 191);
/* oklch */ color: oklch(44.0% 0.203 273.9);
Tailwind
colors: {
  custom: {
    50: '#8270d4',
    500: '#3839bf',
    950: '#000000',
  },
}
SCSS
$custom: #3839bf;
$custom-light: #8270d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3839bf",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 239.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44029,
    "c": 0.20266,
    "h": 273.9
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#3839BF
secondary
#CACA89
accent
#DD4ADE
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3839BF

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

Preview Lab → · Contrast checker → · Palette generator →

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