#3831C7#3831C7

#3831C7 is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.7% C 0.220 H 274.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#3831C7
RGBrgb(56, 49, 199)
HSLhsl(243, 60%, 49%)
HSVhsv(243, 75%, 78%)
CMYKcmyk(71.9%, 75.4%, 0%, 22%)
CIE-LABlab(32.17, 50.23, -75.96)
CIE-LCHlch(32.17, 91.06, 303.47°)
OKLaboklab(43.69% 0.0167 -0.2197)
OKLCHoklch(43.69% 0.22 274.4)
XYZxyz(13.0346, 7.1596, 54.7168)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3831C7 #C0C731
analogous
#3175C7 #3831C7 #8331C7
triadic
#3831C7 #C73831 #31C738
tetradic
#3831C7 #C73175 #C0C731 #31C783
square
#3831C7 #C73175 #C0C731 #31C783
split-complementary
#3831C7 #C78331 #75C731
monochromatic
#1C1965 #2A2596 #3831C7 #645ED7 #938FE3

Accessibility & contrast

On white

8.63
#3831C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3831C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3831C7
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3831C7#FFFFFF#000000##FFFFFF
##3831C71.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CB
Deuteranopia (green-blind)
#0045C4
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3831c7;
/* rgb */ color: rgb(56, 49, 199);
/* oklch */ color: oklch(43.7% 0.220 274.4);
Tailwind
colors: {
  custom: {
    50: '#846cd9',
    500: '#3831c7',
    950: '#000000',
  },
}
SCSS
$custom: #3831c7;
$custom-light: #846cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3831c7",
  "rgb": {
    "r": 56,
    "g": 49,
    "b": 199
  },
  "hsl": {
    "h": 242.8,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.43691,
    "c": 0.22034,
    "h": 274.4
  },
  "luminance": 0.07161
}

Semantic roles & 50–950 ramp

primary
#3831C7
secondary
#CBCE86
accent
#E444DC
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3831C7

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

Preview Lab → · Contrast checker → · Palette generator →

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