#3831C9#3831C9

#3831C9 is a dark, highly saturated blue. Relative luminance 0.073; OKLCH L 43.9% C 0.223 H 274.2°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#3831C9
RGBrgb(56, 49, 201)
HSLhsl(243, 61%, 49%)
HSVhsv(243, 76%, 79%)
CMYKcmyk(72.1%, 75.6%, 0%, 21.2%)
CIE-LABlab(32.38, 50.86, -76.78)
CIE-LCHlch(32.38, 92.10, 303.52°)
OKLaboklab(43.9% 0.0163 -0.2221)
OKLCHoklch(43.9% 0.223 274.2)
XYZxyz(13.2683, 7.2531, 55.9477)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3831C9 #C2C931
analogous
#3176C9 #3831C9 #8431C9
triadic
#3831C9 #C93831 #31C938
tetradic
#3831C9 #C93176 #C2C931 #31C984
square
#3831C9 #C93176 #C2C931 #31C984
split-complementary
#3831C9 #C98431 #76C931
monochromatic
#1D1967 #2A2598 #3831C9 #655FD8 #9490E4

Accessibility & contrast

On white

8.57
#3831C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3831C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3831C9
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3831C9#FFFFFF#000000##FFFFFF
##3831C91.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CD
Deuteranopia (green-blind)
#0045C6
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3831c9;
/* rgb */ color: rgb(56, 49, 201);
/* oklch */ color: oklch(43.9% 0.223 274.2);
Tailwind
colors: {
  custom: {
    50: '#856cdb',
    500: '#3831c9',
    950: '#000000',
  },
}
SCSS
$custom: #3831c9;
$custom-light: #856cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#3831c9",
  "rgb": {
    "r": 56,
    "g": 49,
    "b": 201
  },
  "hsl": {
    "h": 242.763,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.439,
    "c": 0.2227,
    "h": 274.2
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

primary
#3831C9
secondary
#CBCF87
accent
#E444DD
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3831C9

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

Preview Lab → · Contrast checker → · Palette generator →

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