#3839B8#3839B8

#3839B8 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.4% C 0.194 H 274.4°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#3839B8
RGBrgb(56, 57, 184)
HSLhsl(240, 53%, 47%)
HSVhsv(240, 70%, 72%)
CMYKcmyk(69.6%, 69%, 0%, 27.8%)
CIE-LABlab(32.32, 40.76, -66.89)
CIE-LCHlch(32.32, 78.33, 301.36°)
OKLaboklab(43.35% 0.0149 -0.1933)
OKLCHoklch(43.35% 0.194 274.4)
XYZxyz(11.7429, 7.2266, 46.1141)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839B8 #B8B738
analogous
#3879B8 #3839B8 #7738B8
triadic
#3839B8 #B83839 #39B838
tetradic
#3839B8 #B83879 #B8B738 #38B877
square
#3839B8 #B83879 #B8B738 #38B877
split-complementary
#3839B8 #B87738 #79B838
monochromatic
#1B1C5A #2A2A89 #3839B8 #5F60CE #8E8EDD

Accessibility & contrast

On white

8.59
#3839B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3839B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839B8
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839B8#FFFFFF#000000##FFFFFF
##3839B81.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3839b8;
/* rgb */ color: rgb(56, 57, 184);
/* oklch */ color: oklch(43.4% 0.194 274.4);
Tailwind
colors: {
  custom: {
    50: '#8070ce',
    500: '#3839b8',
    950: '#000000',
  },
}
SCSS
$custom: #3839b8;
$custom-light: #8070ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3839b8",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 239.531,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43353,
    "c": 0.19386,
    "h": 274.4
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#3839B8
secondary
#C7C785
accent
#DC4BDD
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3839B8

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

Preview Lab → · Contrast checker → · Palette generator →

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