#3839AC#3839AC

#3839AC is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.178 H 275.2°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#3839AC
RGBrgb(56, 57, 172)
HSLhsl(239, 51%, 45%)
HSVhsv(239, 67%, 67%)
CMYKcmyk(67.4%, 66.9%, 0%, 32.5%)
CIE-LABlab(31.22, 36.67, -61.55)
CIE-LCHlch(31.22, 71.65, 300.79°)
OKLaboklab(42.22% 0.0163 -0.1777)
OKLCHoklch(42.22% 0.178 275.2)
XYZxyz(10.5380, 6.7446, 39.7682)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839AC #ACAB38
analogous
#3873AC #3839AC #7138AC
triadic
#3839AC #AC3839 #39AC38
tetradic
#3839AC #AC3873 #ACAB38 #38AC71
square
#3839AC #AC3873 #ACAB38 #38AC71
split-complementary
#3839AC #AC7138 #73AC38
monochromatic
#1A1A50 #292A7E #3839AC #5859C9 #8787D8

Accessibility & contrast

On white

8.94
#3839AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3839AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839AC
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839AC#FFFFFF#000000##FFFFFF
##3839AC1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#00576D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3839ac;
/* rgb */ color: rgb(56, 57, 172);
/* oklch */ color: oklch(42.2% 0.178 275.2);
Tailwind
colors: {
  custom: {
    50: '#7e70c6',
    500: '#3839ac',
    950: '#000000',
  },
}
SCSS
$custom: #3839ac;
$custom-light: #7e70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3839ac",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 239.483,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42222,
    "c": 0.17841,
    "h": 275.2
  },
  "luminance": 0.06746
}

Semantic roles & 50–950 ramp

primary
#3839AC
secondary
#C2C17E
accent
#D94DDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3839AC

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

Preview Lab → · Contrast checker → · Palette generator →

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