#3F3385#3F3385

#3F3385 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.3% C 0.132 H 285.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#3F3385
RGBrgb(63, 51, 133)
HSLhsl(249, 45%, 36%)
HSVhsv(249, 62%, 52%)
CMYKcmyk(52.6%, 61.7%, 0%, 47.8%)
CIE-LABlab(27.07, 28.50, -44.48)
CIE-LCHlch(27.07, 52.83, 302.65°)
OKLaboklab(38.31% 0.0341 -0.1273)
OKLCHoklch(38.31% 0.132 285)
XYZxyz(7.4661, 5.1175, 22.7801)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3385 #798533
analogous
#335085 #3F3385 #683385
triadic
#3F3385 #853F33 #33853F
tetradic
#3F3385 #853350 #798533 #338568
square
#3F3385 #853350 #798533 #338568
split-complementary
#3F3385 #856833 #508533
monochromatic
#15112D #2A2259 #3F3385 #5444B1 #796CC7

Accessibility & contrast

On white

10.38
#3F3385 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3F3385 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3385
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3385#FFFFFF#000000##FFFFFF
##3F33851.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004288
Deuteranopia (green-blind)
#003D83
Tritanopia (blue-blind)
#244657
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f3385;
/* rgb */ color: rgb(63, 51, 133);
/* oklch */ color: oklch(38.3% 0.132 285.0);
Tailwind
colors: {
  custom: {
    50: '#7a6ba9',
    500: '#3f3385',
    950: '#000000',
  },
}
SCSS
$custom: #3f3385;
$custom-light: #7a6ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3385",
  "rgb": {
    "r": 63,
    "g": 51,
    "b": 133
  },
  "hsl": {
    "h": 248.78,
    "s": 44.565,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38313,
    "c": 0.13184,
    "h": 285
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#3F3385
secondary
#A4AE65
accent
#D454C1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F3385

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

Preview Lab → · Contrast checker → · Palette generator →

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