#3839B6#3839B6

#3839B6 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.2% C 0.191 H 274.5°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#3839B6
RGBrgb(56, 57, 182)
HSLhsl(240, 53%, 47%)
HSVhsv(240, 69%, 71%)
CMYKcmyk(69.2%, 68.7%, 0%, 28.6%)
CIE-LABlab(32.13, 40.09, -66.01)
CIE-LCHlch(32.13, 77.23, 301.27°)
OKLaboklab(43.16% 0.0151 -0.1907)
OKLCHoklch(43.16% 0.191 274.5)
XYZxyz(11.5347, 7.1433, 45.0178)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839B6 #B6B538
analogous
#3878B6 #3839B6 #7638B6
triadic
#3839B6 #B63839 #39B638
tetradic
#3839B6 #B63878 #B6B538 #38B676
square
#3839B6 #B63878 #B6B538 #38B676
split-complementary
#3839B6 #B67638 #78B638
monochromatic
#1B1C58 #2A2A87 #3839B6 #5E5FCD #8D8DDC

Accessibility & contrast

On white

8.65
#3839B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3839B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839B6
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839B6#FFFFFF#000000##FFFFFF
##3839B61.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3839b6;
/* rgb */ color: rgb(56, 57, 182);
/* oklch */ color: oklch(43.2% 0.191 274.5);
Tailwind
colors: {
  custom: {
    50: '#8070cd',
    500: '#3839b6',
    950: '#000000',
  },
}
SCSS
$custom: #3839b6;
$custom-light: #8070cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3839b6",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 239.524,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43162,
    "c": 0.19132,
    "h": 274.5
  },
  "luminance": 0.07144
}

Semantic roles & 50–950 ramp

primary
#3839B6
secondary
#C6C684
accent
#DB4BDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3839B6

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

Preview Lab → · Contrast checker → · Palette generator →

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