#3831CE#3831CE

#3831CE is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.4% C 0.229 H 273.8°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#3831CE
RGBrgb(56, 49, 206)
HSLhsl(243, 62%, 50%)
HSVhsv(243, 76%, 81%)
CMYKcmyk(72.8%, 76.2%, 0%, 19.2%)
CIE-LABlab(32.90, 52.43, -78.83)
CIE-LCHlch(32.90, 94.67, 303.63°)
OKLaboklab(44.43% 0.0153 -0.228)
OKLCHoklch(44.43% 0.229 273.8)
XYZxyz(13.8661, 7.4922, 59.0959)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3831CE #C7CE31
analogous
#3179CE #3831CE #8631CE
triadic
#3831CE #CE3831 #31CE38
tetradic
#3831CE #CE3179 #C7CE31 #31CE86
square
#3831CE #CE3179 #C7CE31 #31CE86
split-complementary
#3831CE #CE8631 #79CE31
monochromatic
#1D196B #2B259D #3831CE #6862DA #9894E6

Accessibility & contrast

On white

8.40
#3831CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3831CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3831CE
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3831CE#FFFFFF#000000##FFFFFF
##3831CE1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D2
Deuteranopia (green-blind)
#0046CB
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3831ce;
/* rgb */ color: rgb(56, 49, 206);
/* oklch */ color: oklch(44.4% 0.229 273.8);
Tailwind
colors: {
  custom: {
    50: '#866cde',
    500: '#3831ce',
    950: '#000000',
  },
}
SCSS
$custom: #3831ce;
$custom-light: #866cde;
$custom-dark: #000000;
JSON
{
  "hex": "#3831ce",
  "rgb": {
    "r": 56,
    "g": 49,
    "b": 206
  },
  "hsl": {
    "h": 242.675,
    "s": 61.569,
    "l": 50
  },
  "oklch": {
    "l": 0.44426,
    "c": 0.22855,
    "h": 273.8
  },
  "luminance": 0.07494
}

Semantic roles & 50–950 ramp

primary
#3831CE
secondary
#CDD18A
accent
#E543DD
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3831CE

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

Preview Lab → · Contrast checker → · Palette generator →

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