#3B3FA3#3B3FA3

#3B3FA3 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.7% C 0.158 H 275.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#3B3FA3
RGBrgb(59, 63, 163)
HSLhsl(238, 47%, 44%)
HSVhsv(238, 64%, 64%)
CMYKcmyk(63.8%, 61.3%, 0%, 36.1%)
CIE-LABlab(32.10, 30.21, -54.70)
CIE-LCHlch(32.10, 62.49, 298.91°)
OKLaboklab(42.68% 0.0156 -0.1575)
OKLCHoklch(42.68% 0.158 275.7)
XYZxyz(10.1898, 7.1283, 35.4822)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B3FA3 #A39F3B
analogous
#3B73A3 #3B3FA3 #6B3BA3
triadic
#3B3FA3 #A33B3F #3FA33B
tetradic
#3B3FA3 #A33B73 #A39F3B #3BA36B
square
#3B3FA3 #A33B73 #A39F3B #3BA36B
split-complementary
#3B3FA3 #A36B3B #73A33B
monochromatic
#1A1C49 #2B2E76 #3B3FA3 #585DC3 #8588D3

Accessibility & contrast

On white

8.66
#3B3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B3FA3
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B3FA3#FFFFFF#000000##FFFFFF
##3B3FA31.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3b3fa3;
/* rgb */ color: rgb(59, 63, 163);
/* oklch */ color: oklch(42.7% 0.158 275.7);
Tailwind
colors: {
  custom: {
    50: '#7d74bf',
    500: '#3b3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #3b3fa3;
$custom-light: #7d74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b3fa3",
  "rgb": {
    "r": 59,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 237.692,
    "s": 46.847,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42681,
    "c": 0.15824,
    "h": 275.7
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

primary
#3B3FA3
secondary
#BDBB7D
accent
#D151D6
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3B3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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