#3839B7#3839B7

#3839B7 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.3% C 0.193 H 274.5°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#3839B7
RGBrgb(56, 57, 183)
HSLhsl(240, 53%, 47%)
HSVhsv(240, 69%, 72%)
CMYKcmyk(69.4%, 68.9%, 0%, 28.2%)
CIE-LABlab(32.22, 40.43, -66.45)
CIE-LCHlch(32.22, 77.78, 301.31°)
OKLaboklab(43.26% 0.015 -0.192)
OKLCHoklch(43.26% 0.193 274.5)
XYZxyz(11.6384, 7.1848, 45.5640)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839B7 #B7B638
analogous
#3878B7 #3839B7 #7738B7
triadic
#3839B7 #B73839 #39B738
tetradic
#3839B7 #B73878 #B7B638 #38B777
square
#3839B7 #B73878 #B7B638 #38B777
split-complementary
#3839B7 #B77738 #78B738
monochromatic
#1B1C59 #2A2A88 #3839B7 #5E5FCE #8D8EDC

Accessibility & contrast

On white

8.62
#3839B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3839B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839B7
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839B7#FFFFFF#000000##FFFFFF
##3839B71.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0046B5
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3839b7;
/* rgb */ color: rgb(56, 57, 183);
/* oklch */ color: oklch(43.3% 0.193 274.5);
Tailwind
colors: {
  custom: {
    50: '#8070ce',
    500: '#3839b7',
    950: '#000000',
  },
}
SCSS
$custom: #3839b7;
$custom-light: #8070ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3839b7",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 239.528,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43257,
    "c": 0.19259,
    "h": 274.5
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#3839B7
secondary
#C7C684
accent
#DB4BDD
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3839B7

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

Preview Lab → · Contrast checker → · Palette generator →

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