#3839D9#3839D9

#3839D9 is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.6% C 0.234 H 272.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#3839D9
RGBrgb(56, 57, 217)
HSLhsl(240, 68%, 54%)
HSVhsv(240, 74%, 85%)
CMYKcmyk(74.2%, 73.7%, 0%, 14.9%)
CIE-LABlab(35.55, 51.65, -80.82)
CIE-LCHlch(35.55, 95.91, 302.58°)
OKLaboklab(46.63% 0.0098 -0.2339)
OKLCHoklch(46.63% 0.234 272.4)
XYZxyz(15.6142, 8.7751, 66.5031)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839D9 #D9D838
analogous
#3889D9 #3839D9 #8738D9
triadic
#3839D9 #D93839 #39D938
tetradic
#3839D9 #D93889 #D9D838 #38D987
square
#3839D9 #D93889 #D9D838 #38D987
split-complementary
#3839D9 #D98738 #89D938
monochromatic
#18197E #2223B2 #3839D9 #6B6CE3 #9F9FED

Accessibility & contrast

On white

7.62
#3839D9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#3839D9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839D9
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839D9#FFFFFF#000000##FFFFFF
##3839D91.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BDE
Deuteranopia (green-blind)
#004CD6
Tritanopia (blue-blind)
#006886
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3839d9;
/* rgb */ color: rgb(56, 57, 217);
/* oklch */ color: oklch(46.6% 0.234 272.4);
Tailwind
colors: {
  custom: {
    50: '#8871e6',
    500: '#3839d9',
    950: '#000000',
  },
}
SCSS
$custom: #3839d9;
$custom-light: #8871e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3839d9",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 217
  },
  "hsl": {
    "h": 239.627,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.46633,
    "c": 0.2341,
    "h": 272.4
  },
  "luminance": 0.08777
}

Semantic roles & 50–950 ramp

primary
#3839D9
secondary
#D9D894
accent
#EA3DEB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3839D9

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

Preview Lab → · Contrast checker → · Palette generator →

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