#3831BE#3831BE

#3831BE is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.8% C 0.210 H 275.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#3831BE
RGBrgb(56, 49, 190)
HSLhsl(243, 59%, 47%)
HSVhsv(243, 74%, 75%)
CMYKcmyk(70.5%, 74.2%, 0%, 25.5%)
CIE-LABlab(31.24, 47.35, -72.21)
CIE-LCHlch(31.24, 86.35, 303.26°)
OKLaboklab(42.76% 0.0185 -0.2088)
OKLCHoklch(42.76% 0.21 275.1)
XYZxyz(12.0204, 6.7539, 49.3754)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3831BE #B7BE31
analogous
#3170BE #3831BE #7F31BE
triadic
#3831BE #BE3831 #31BE38
tetradic
#3831BE #BE3170 #B7BE31 #31BE7F
square
#3831BE #BE3170 #B7BE31 #31BE7F
split-complementary
#3831BE #BE7F31 #70BE31
monochromatic
#1B185D #2A248D #3831BE #5E58D4 #8D89E1

Accessibility & contrast

On white

8.93
#3831BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3831BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3831BE
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3831BE#FFFFFF#000000##FFFFFF
##3831BE1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C2
Deuteranopia (green-blind)
#0043BB
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3831be;
/* rgb */ color: rgb(56, 49, 190);
/* oklch */ color: oklch(42.8% 0.210 275.1);
Tailwind
colors: {
  custom: {
    50: '#826bd3',
    500: '#3831be',
    950: '#000000',
  },
}
SCSS
$custom: #3831be;
$custom-light: #826bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#3831be",
  "rgb": {
    "r": 56,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 242.979,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42759,
    "c": 0.2096,
    "h": 275.1
  },
  "luminance": 0.06755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3831BE

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

Preview Lab → · Contrast checker → · Palette generator →

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