#3831B9#3831B9

#3831B9 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.2% C 0.204 H 275.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#3831B9
RGBrgb(56, 49, 185)
HSLhsl(243, 58%, 46%)
HSVhsv(243, 74%, 73%)
CMYKcmyk(69.7%, 73.5%, 0%, 27.5%)
CIE-LABlab(30.73, 45.74, -70.09)
CIE-LCHlch(30.73, 83.69, 303.13°)
OKLaboklab(42.25% 0.0195 -0.2026)
OKLCHoklch(42.25% 0.204 275.5)
XYZxyz(11.4833, 6.5391, 46.5465)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3831B9 #B2B931
analogous
#316EB9 #3831B9 #7C31B9
triadic
#3831B9 #B93831 #31B938
tetradic
#3831B9 #B9316E #B2B931 #31B97C
square
#3831B9 #B9316E #B2B931 #31B97C
split-complementary
#3831B9 #B97C31 #6EB931
monochromatic
#1B1758 #292489 #3831B9 #5C55D2 #8A86DF

Accessibility & contrast

On white

9.10
#3831B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3831B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3831B9
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3831B9#FFFFFF#000000##FFFFFF
##3831B91.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBD
Deuteranopia (green-blind)
#0042B7
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3831b9;
/* rgb */ color: rgb(56, 49, 185);
/* oklch */ color: oklch(42.2% 0.204 275.5);
Tailwind
colors: {
  custom: {
    50: '#816bcf',
    500: '#3831b9',
    950: '#000000',
  },
}
SCSS
$custom: #3831b9;
$custom-light: #816bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3831b9",
  "rgb": {
    "r": 56,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 243.088,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42249,
    "c": 0.20354,
    "h": 275.5
  },
  "luminance": 0.0654
}

Semantic roles & 50–950 ramp

primary
#3831B9
secondary
#C5C87D
accent
#E146D9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3831B9

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

Preview Lab → · Contrast checker → · Palette generator →

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