#3839C4#3839C4

#3839C4 is a dark, highly saturated blue. Relative luminance 0.078; OKLCH L 44.5% C 0.209 H 273.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#3839C4
RGBrgb(56, 57, 196)
HSLhsl(240, 56%, 49%)
HSVhsv(240, 71%, 77%)
CMYKcmyk(71.4%, 70.9%, 0%, 23.1%)
CIE-LABlab(33.46, 44.79, -72.07)
CIE-LCHlch(33.46, 84.86, 301.86°)
OKLaboklab(44.52% 0.0132 -0.2084)
OKLCHoklch(44.52% 0.209 273.6)
XYZxyz(13.0545, 7.7512, 53.0220)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839C4 #C4C338
analogous
#387FC4 #3839C4 #7D38C4
triadic
#3839C4 #C43839 #39C438
tetradic
#3839C4 #C4387F #C4C338 #38C47D
square
#3839C4 #C4387F #C4C338 #38C47D
split-complementary
#3839C4 #C47D38 #7FC438
monochromatic
#1D1D65 #2A2B94 #3839C4 #6667D3 #9696E1

Accessibility & contrast

On white

8.23
#3839C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3839C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839C4
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839C4#FFFFFF#000000##FFFFFF
##3839C41.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C8
Deuteranopia (green-blind)
#0048C1
Tritanopia (blue-blind)
#00607A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3839c4;
/* rgb */ color: rgb(56, 57, 196);
/* oklch */ color: oklch(44.5% 0.209 273.6);
Tailwind
colors: {
  custom: {
    50: '#8371d7',
    500: '#3839c4',
    950: '#000000',
  },
}
SCSS
$custom: #3839c4;
$custom-light: #8371d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3839c4",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 196
  },
  "hsl": {
    "h": 239.571,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4452,
    "c": 0.20885,
    "h": 273.6
  },
  "luminance": 0.07753
}

Semantic roles & 50–950 ramp

primary
#3839C4
secondary
#CCCC8C
accent
#DE49DF
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3839C4

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

Preview Lab → · Contrast checker → · Palette generator →

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