#3B3FA4#3B3FA4

#3B3FA4 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.8% C 0.160 H 275.6°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#3B3FA4
RGBrgb(59, 63, 164)
HSLhsl(238, 47%, 44%)
HSVhsv(238, 64%, 64%)
CMYKcmyk(64%, 61.6%, 0%, 35.7%)
CIE-LABlab(32.18, 30.56, -55.17)
CIE-LCHlch(32.18, 63.07, 298.98°)
OKLaboklab(42.77% 0.0156 -0.1588)
OKLCHoklch(42.77% 0.16 275.6)
XYZxyz(10.2798, 7.1643, 35.9559)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3FA4 #A4A03B
analogous
#3B73A4 #3B3FA4 #6B3BA4
triadic
#3B3FA4 #A43B3F #3FA43B
tetradic
#3B3FA4 #A43B73 #A4A03B #3BA46B
square
#3B3FA4 #A43B73 #A4A03B #3BA46B
split-complementary
#3B3FA4 #A46B3B #73A43B
monochromatic
#1B1C4A #2B2E77 #3B3FA4 #595DC3 #8689D3

Accessibility & contrast

On white

8.63
#3B3FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3B3FA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B3FA4
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3FA4#FFFFFF#000000##FFFFFF
##3B3FA41.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)
#0050A7
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3b3fa4;
/* rgb */ color: rgb(59, 63, 164);
/* oklch */ color: oklch(42.8% 0.160 275.6);
Tailwind
colors: {
  custom: {
    50: '#7d74c0',
    500: '#3b3fa4',
    950: '#000000',
  },
}
SCSS
$custom: #3b3fa4;
$custom-light: #7d74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3fa4",
  "rgb": {
    "r": 59,
    "g": 63,
    "b": 164
  },
  "hsl": {
    "h": 237.714,
    "s": 47.085,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42766,
    "c": 0.15961,
    "h": 275.6
  },
  "luminance": 0.07165
}

Semantic roles & 50–950 ramp

primary
#3B3FA4
secondary
#BEBB7D
accent
#D251D7
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3B3FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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