#3F2DAF#3F2DAF

#3F2DAF is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.2% C 0.194 H 279.9°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#3F2DAF
RGBrgb(63, 45, 175)
HSLhsl(248, 59%, 43%)
HSVhsv(248, 74%, 69%)
CMYKcmyk(64%, 74.3%, 0%, 31.4%)
CIE-LABlab(29.48, 45.56, -66.18)
CIE-LCHlch(29.48, 80.34, 304.54°)
OKLaboklab(41.2% 0.0334 -0.191)
OKLCHoklch(41.2% 0.194 279.9)
XYZxyz(10.7237, 6.0278, 41.1475)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2DAF #9DAF2D
analogous
#2D5CAF #3F2DAF #802DAF
triadic
#3F2DAF #AF3F2D #2DAF3F
tetradic
#3F2DAF #AF2D5C #9DAF2D #2DAF80
square
#3F2DAF #AF2D5C #9DAF2D #2DAF80
split-complementary
#3F2DAF #AF802D #5CAF2D
monochromatic
#1C144E #2D207E #3F2DAF #5C49D0 #877ADD

Accessibility & contrast

On white

9.52
#3F2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3F2DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2DAF
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2DAF#FFFFFF#000000##FFFFFF
##3F2DAF1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f2daf;
/* rgb */ color: rgb(63, 45, 175);
/* oklch */ color: oklch(41.2% 0.194 279.9);
Tailwind
colors: {
  custom: {
    50: '#8268c8',
    500: '#3f2daf',
    950: '#000000',
  },
}
SCSS
$custom: #3f2daf;
$custom-light: #8268c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2daf",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 248.308,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41198,
    "c": 0.19387,
    "h": 279.9
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#3F2DAF
secondary
#BAC573
accent
#E246CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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