#3839C9#3839C9

#3839C9 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.0% C 0.215 H 273.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#3839C9
RGBrgb(56, 57, 201)
HSLhsl(240, 57%, 50%)
HSVhsv(240, 72%, 79%)
CMYKcmyk(72.1%, 71.6%, 0%, 21.2%)
CIE-LABlab(33.95, 46.44, -74.19)
CIE-LCHlch(33.95, 87.53, 302.05°)
OKLaboklab(45.02% 0.0124 -0.2146)
OKLCHoklch(45.02% 0.215 273.3)
XYZxyz(13.6331, 7.9827, 56.0693)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839C9 #C9C838
analogous
#3882C9 #3839C9 #7F38C9
triadic
#3839C9 #C93839 #39C938
tetradic
#3839C9 #C93882 #C9C838 #38C97F
square
#3839C9 #C93882 #C9C838 #38C97F
split-complementary
#3839C9 #C97F38 #82C938
monochromatic
#1D1D6A #2A2B9A #3839C9 #6869D6 #9899E3

Accessibility & contrast

On white

8.09
#3839C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3839C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839C9
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839C9#FFFFFF#000000##FFFFFF
##3839C91.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#0049C6
Tritanopia (blue-blind)
#00627D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3839c9;
/* rgb */ color: rgb(56, 57, 201);
/* oklch */ color: oklch(45.0% 0.215 273.3);
Tailwind
colors: {
  custom: {
    50: '#8471db',
    500: '#3839c9',
    950: '#000000',
  },
}
SCSS
$custom: #3839c9;
$custom-light: #8471db;
$custom-dark: #000000;
JSON
{
  "hex": "#3839c9",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 201
  },
  "hsl": {
    "h": 239.586,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.45015,
    "c": 0.21497,
    "h": 273.3
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#3839C9
secondary
#CFCE8E
accent
#E047E1
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3839C9

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

Preview Lab → · Contrast checker → · Palette generator →

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