#3839BC#3839BC

#3839BC is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.7% C 0.199 H 274.1°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#3839BC
RGBrgb(56, 57, 188)
HSLhsl(240, 54%, 48%)
HSVhsv(240, 70%, 74%)
CMYKcmyk(70.2%, 69.7%, 0%, 26.3%)
CIE-LABlab(32.69, 42.11, -68.63)
CIE-LCHlch(32.69, 80.52, 301.53°)
OKLaboklab(43.74% 0.0143 -0.1984)
OKLCHoklch(43.74% 0.199 274.1)
XYZxyz(12.1681, 7.3967, 48.3536)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839BC #BCBB38
analogous
#387BBC #3839BC #7938BC
triadic
#3839BC #BC3839 #39BC38
tetradic
#3839BC #BC387B #BCBB38 #38BC79
square
#3839BC #BC387B #BCBB38 #38BC79
split-complementary
#3839BC #BC7938 #7BBC38
monochromatic
#1C1C5E #2A2B8D #3839BC #6162D0 #9091DE

Accessibility & contrast

On white

8.47
#3839BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3839BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839BC
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839BC#FFFFFF#000000##FFFFFF
##3839BC1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3839bc;
/* rgb */ color: rgb(56, 57, 188);
/* oklch */ color: oklch(43.7% 0.199 274.1);
Tailwind
colors: {
  custom: {
    50: '#8170d1',
    500: '#3839bc',
    950: '#000000',
  },
}
SCSS
$custom: #3839bc;
$custom-light: #8170d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3839bc",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 239.545,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43738,
    "c": 0.19891,
    "h": 274.1
  },
  "luminance": 0.07398
}

Semantic roles & 50–950 ramp

primary
#3839BC
secondary
#C9C887
accent
#DC4ADD
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3839BC

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

Preview Lab → · Contrast checker → · Palette generator →

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