#3B3FA1#3B3FA1

#3B3FA1 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.5% C 0.155 H 275.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#3B3FA1
RGBrgb(59, 63, 161)
HSLhsl(238, 46%, 43%)
HSVhsv(238, 63%, 63%)
CMYKcmyk(63.4%, 60.9%, 0%, 36.9%)
CIE-LABlab(31.94, 29.51, -53.76)
CIE-LCHlch(31.94, 61.33, 298.77°)
OKLaboklab(42.51% 0.0157 -0.1547)
OKLCHoklch(42.51% 0.155 275.8)
XYZxyz(10.0121, 7.0572, 34.5459)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3FA1 #A19D3B
analogous
#3B72A1 #3B3FA1 #6A3BA1
triadic
#3B3FA1 #A13B3F #3FA13B
tetradic
#3B3FA1 #A13B72 #A19D3B #3BA16A
square
#3B3FA1 #A13B72 #A19D3B #3BA16A
split-complementary
#3B3FA1 #A16A3B #72A13B
monochromatic
#1A1C47 #2B2D74 #3B3FA1 #585CC2 #8487D2

Accessibility & contrast

On white

8.71
#3B3FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3B3FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3FA1
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3FA1#FFFFFF#000000##FFFFFF
##3B3FA11.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#00479F
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3b3fa1;
/* rgb */ color: rgb(59, 63, 161);
/* oklch */ color: oklch(42.5% 0.155 275.8);
Tailwind
colors: {
  custom: {
    50: '#7c74be',
    500: '#3b3fa1',
    950: '#000000',
  },
}
SCSS
$custom: #3b3fa1;
$custom-light: #7c74be;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3fa1",
  "rgb": {
    "r": 59,
    "g": 63,
    "b": 161
  },
  "hsl": {
    "h": 237.647,
    "s": 46.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42513,
    "c": 0.15548,
    "h": 275.8
  },
  "luminance": 0.07058
}

Semantic roles & 50–950 ramp

primary
#3B3FA1
secondary
#BCBA7C
accent
#D152D6
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3B3FA1

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

Preview Lab → · Contrast checker → · Palette generator →

#3B3FA1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva