#3831BC#3831BC

#3831BC is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.6% C 0.207 H 275.2°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#3831BC
RGBrgb(56, 49, 188)
HSLhsl(243, 59%, 46%)
HSVhsv(243, 74%, 74%)
CMYKcmyk(70.2%, 73.9%, 0%, 26.3%)
CIE-LABlab(31.04, 46.71, -71.36)
CIE-LCHlch(31.04, 85.29, 303.21°)
OKLaboklab(42.56% 0.0189 -0.2063)
OKLCHoklch(42.56% 0.207 275.2)
XYZxyz(11.8033, 6.6671, 48.2320)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3831BC #B5BC31
analogous
#316FBC #3831BC #7E31BC
triadic
#3831BC #BC3831 #31BC38
tetradic
#3831BC #BC316F #B5BC31 #31BC7E
square
#3831BC #BC316F #B5BC31 #31BC7E
split-complementary
#3831BC #BC7E31 #6FBC31
monochromatic
#1B185B #2A248B #3831BC #5D57D3 #8C88E0

Accessibility & contrast

On white

9.00
#3831BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3831BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3831BC
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3831BC#FFFFFF#000000##FFFFFF
##3831BC1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC0
Deuteranopia (green-blind)
#0043BA
Tritanopia (blue-blind)
#005974
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3831bc;
/* rgb */ color: rgb(56, 49, 188);
/* oklch */ color: oklch(42.6% 0.207 275.2);
Tailwind
colors: {
  custom: {
    50: '#826bd1',
    500: '#3831bc',
    950: '#000000',
  },
}
SCSS
$custom: #3831bc;
$custom-light: #826bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#3831bc",
  "rgb": {
    "r": 56,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 243.022,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42555,
    "c": 0.20719,
    "h": 275.2
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#3831BC
secondary
#C6CA7F
accent
#E246DA
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3831BC

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

Preview Lab → · Contrast checker → · Palette generator →

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