#3839BE#3839BE

#3839BE is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 43.9% C 0.201 H 274.0°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#3839BE
RGBrgb(56, 57, 190)
HSLhsl(240, 54%, 48%)
HSVhsv(240, 71%, 75%)
CMYKcmyk(70.5%, 70%, 0%, 25.5%)
CIE-LABlab(32.88, 42.78, -69.50)
CIE-LCHlch(32.88, 81.61, 301.62°)
OKLaboklab(43.93% 0.014 -0.2009)
OKLCHoklch(43.93% 0.201 274)
XYZxyz(12.3852, 7.4835, 49.4970)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839BE #BEBD38
analogous
#387CBE #3839BE #7A38BE
triadic
#3839BE #BE3839 #39BE38
tetradic
#3839BE #BE387C #BEBD38 #38BE7A
square
#3839BE #BE387C #BEBD38 #38BE7A
split-complementary
#3839BE #BE7A38 #7CBE38
monochromatic
#1C1D5F #2A2B8F #3839BE #6263D1 #9292DF

Accessibility & contrast

On white

8.41
#3839BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3839BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839BE
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839BE#FFFFFF#000000##FFFFFF
##3839BE1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3839be;
/* rgb */ color: rgb(56, 57, 190);
/* oklch */ color: oklch(43.9% 0.201 274.0);
Tailwind
colors: {
  custom: {
    50: '#8270d3',
    500: '#3839be',
    950: '#000000',
  },
}
SCSS
$custom: #3839be;
$custom-light: #8270d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3839be",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 190
  },
  "hsl": {
    "h": 239.552,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43932,
    "c": 0.20141,
    "h": 274
  },
  "luminance": 0.07485
}

Semantic roles & 50–950 ramp

primary
#3839BE
secondary
#CAC988
accent
#DD4ADE
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3839BE

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

Preview Lab → · Contrast checker → · Palette generator →

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