#3839C8#3839C8

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

Color values

HEX#3839C8
RGBrgb(56, 57, 200)
HSLhsl(240, 57%, 50%)
HSVhsv(240, 72%, 78%)
CMYKcmyk(72%, 71.5%, 0%, 21.6%)
CIE-LABlab(33.85, 46.11, -73.77)
CIE-LCHlch(33.85, 87.00, 302.01°)
OKLaboklab(44.92% 0.0126 -0.2134)
OKLCHoklch(44.92% 0.214 273.4)
XYZxyz(13.5159, 7.9358, 55.4518)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839C8 #C8C738
analogous
#3881C8 #3839C8 #7F38C8
triadic
#3839C8 #C83839 #39C838
tetradic
#3839C8 #C83881 #C8C738 #38C87F
square
#3839C8 #C83881 #C8C738 #38C87F
split-complementary
#3839C8 #C87F38 #81C838
monochromatic
#1D1D69 #2A2B99 #3839C8 #6869D5 #9898E3

Accessibility & contrast

On white

8.12
#3839C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3839C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839C8
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839C8#FFFFFF#000000##FFFFFF
##3839C81.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CC
Deuteranopia (green-blind)
#0049C5
Tritanopia (blue-blind)
#00617D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3839c8;
/* rgb */ color: rgb(56, 57, 200);
/* oklch */ color: oklch(44.9% 0.214 273.4);
Tailwind
colors: {
  custom: {
    50: '#8471da',
    500: '#3839c8',
    950: '#000000',
  },
}
SCSS
$custom: #3839c8;
$custom-light: #8471da;
$custom-dark: #000000;
JSON
{
  "hex": "#3839c8",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 239.583,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.44915,
    "c": 0.21375,
    "h": 273.4
  },
  "luminance": 0.07937
}

Semantic roles & 50–950 ramp

primary
#3839C8
secondary
#CECE8E
accent
#DF48E0
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3839C8

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

Preview Lab → · Contrast checker → · Palette generator →

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