#3839C7#3839C7

#3839C7 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.8% C 0.213 H 273.4°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#3839C7
RGBrgb(56, 57, 199)
HSLhsl(240, 56%, 50%)
HSVhsv(240, 72%, 78%)
CMYKcmyk(71.9%, 71.4%, 0%, 22%)
CIE-LABlab(33.75, 45.78, -73.35)
CIE-LCHlch(33.75, 86.46, 301.97°)
OKLaboklab(44.82% 0.0127 -0.2121)
OKLCHoklch(44.82% 0.213 273.4)
XYZxyz(13.3994, 7.8892, 54.8384)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839C7 #C7C638
analogous
#3881C7 #3839C7 #7E38C7
triadic
#3839C7 #C73839 #39C738
tetradic
#3839C7 #C73881 #C7C638 #38C77E
square
#3839C7 #C73881 #C7C638 #38C77E
split-complementary
#3839C7 #C77E38 #81C738
monochromatic
#1D1E67 #2B2B97 #3839C7 #6869D4 #9898E2

Accessibility & contrast

On white

8.15
#3839C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3839C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839C7
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839C7#FFFFFF#000000##FFFFFF
##3839C71.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CB
Deuteranopia (green-blind)
#0048C4
Tritanopia (blue-blind)
#00617C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3839c7;
/* rgb */ color: rgb(56, 57, 199);
/* oklch */ color: oklch(44.8% 0.213 273.4);
Tailwind
colors: {
  custom: {
    50: '#8471d9',
    500: '#3839c7',
    950: '#000000',
  },
}
SCSS
$custom: #3839c7;
$custom-light: #8471d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3839c7",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 199
  },
  "hsl": {
    "h": 239.58,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.44816,
    "c": 0.21253,
    "h": 273.4
  },
  "luminance": 0.07891
}

Semantic roles & 50–950 ramp

primary
#3839C7
secondary
#CDCD8D
accent
#DE48DF
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3839C7

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

Preview Lab → · Contrast checker → · Palette generator →

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