#3F2FAF#3F2FAF

#3F2FAF is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.5% C 0.192 H 279.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#3F2FAF
RGBrgb(63, 47, 175)
HSLhsl(248, 58%, 44%)
HSVhsv(248, 73%, 69%)
CMYKcmyk(64%, 73.1%, 0%, 31.4%)
CIE-LABlab(29.87, 44.46, -65.54)
CIE-LCHlch(29.87, 79.20, 304.16°)
OKLaboklab(41.47% 0.032 -0.1891)
OKLCHoklch(41.47% 0.192 279.6)
XYZxyz(10.8018, 6.1841, 41.1736)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2FAF #9FAF2F
analogous
#2F5FAF #3F2FAF #7F2FAF
triadic
#3F2FAF #AF3F2F #2FAF3F
tetradic
#3F2FAF #AF2F5F #9FAF2F #2FAF7F
square
#3F2FAF #AF2F5F #9FAF2F #2FAF7F
split-complementary
#3F2FAF #AF7F2F #5FAF2F
monochromatic
#1C154F #2E227F #3F2FAF #5D4CCF #887CDC

Accessibility & contrast

On white

9.39
#3F2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3F2FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2FAF
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2FAF#FFFFFF#000000##FFFFFF
##3F2FAF1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0041AD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f2faf;
/* rgb */ color: rgb(63, 47, 175);
/* oklch */ color: oklch(41.5% 0.192 279.6);
Tailwind
colors: {
  custom: {
    50: '#826ac8',
    500: '#3f2faf',
    950: '#000000',
  },
}
SCSS
$custom: #3f2faf;
$custom-light: #826ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2faf",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 247.5,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41474,
    "c": 0.19181,
    "h": 279.6
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#3F2FAF
secondary
#BBC475
accent
#E147CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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