#3839B5#3839B5

#3839B5 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.190 H 274.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#3839B5
RGBrgb(56, 57, 181)
HSLhsl(240, 53%, 46%)
HSVhsv(240, 69%, 71%)
CMYKcmyk(69.1%, 68.5%, 0%, 29%)
CIE-LABlab(32.04, 39.75, -65.57)
CIE-LCHlch(32.04, 76.68, 301.22°)
OKLaboklab(43.07% 0.0152 -0.1894)
OKLCHoklch(43.07% 0.19 274.6)
XYZxyz(11.4317, 7.1021, 44.4755)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3839B5 #B5B438
analogous
#3878B5 #3839B5 #7638B5
triadic
#3839B5 #B53839 #39B538
tetradic
#3839B5 #B53878 #B5B438 #38B576
square
#3839B5 #B53878 #B5B438 #38B576
split-complementary
#3839B5 #B57638 #78B538
monochromatic
#1B1C58 #2A2A86 #3839B5 #5D5ECD #8C8DDB

Accessibility & contrast

On white

8.68
#3839B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3839B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3839B5
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3839B5#FFFFFF#000000##FFFFFF
##3839B51.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3839b5;
/* rgb */ color: rgb(56, 57, 181);
/* oklch */ color: oklch(43.1% 0.190 274.6);
Tailwind
colors: {
  custom: {
    50: '#8070cc',
    500: '#3839b5',
    950: '#000000',
  },
}
SCSS
$custom: #3839b5;
$custom-light: #8070cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3839b5",
  "rgb": {
    "r": 56,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 239.52,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.19004,
    "h": 274.6
  },
  "luminance": 0.07103
}

Semantic roles & 50–950 ramp

primary
#3839B5
secondary
#C6C583
accent
#DB4CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3839B5

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

Preview Lab → · Contrast checker → · Palette generator →

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