#3839B2#3839B2

#3839B2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.186 H 274.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#3839B2
RGBrgb(56, 57, 178)
HSLhsl(240, 52%, 46%)
HSVhsv(240, 69%, 70%)
CMYKcmyk(68.5%, 68%, 0%, 30.2%)
CIE-LABlab(31.76, 38.73, -64.24)
CIE-LCHlch(31.76, 75.01, 301.08°)
OKLaboklab(42.78% 0.0156 -0.1855)
OKLCHoklch(42.78% 0.186 274.8)
XYZxyz(11.1272, 6.9803, 42.8718)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839B2 #B2B138
analogous
#3876B2 #3839B2 #7438B2
triadic
#3839B2 #B23839 #39B238
tetradic
#3839B2 #B23876 #B2B138 #38B274
square
#3839B2 #B23876 #B2B138 #38B274
split-complementary
#3839B2 #B27438 #76B238
monochromatic
#1B1B55 #292A83 #3839B2 #5C5DCC #8A8BDA

Accessibility & contrast

On white

8.76
#3839B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3839B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839B2
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839B2#FFFFFF#000000##FFFFFF
##3839B21.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B6
Deuteranopia (green-blind)
#0045B0
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3839b2;
/* rgb */ color: rgb(56, 57, 178);
/* oklch */ color: oklch(42.8% 0.186 274.8);
Tailwind
colors: {
  custom: {
    50: '#7f70ca',
    500: '#3839b2',
    950: '#000000',
  },
}
SCSS
$custom: #3839b2;
$custom-light: #7f70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3839b2",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 239.508,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42783,
    "c": 0.18619,
    "h": 274.8
  },
  "luminance": 0.06981
}

Semantic roles & 50–950 ramp

primary
#3839B2
secondary
#C5C481
accent
#DA4CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3839B2

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

Preview Lab → · Contrast checker → · Palette generator →

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