#3F2CB8#3F2CB8

#3F2CB8 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.0% C 0.206 H 278.9°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#3F2CB8
RGBrgb(63, 44, 184)
HSLhsl(248, 61%, 45%)
HSVhsv(248, 76%, 72%)
CMYKcmyk(65.8%, 76.1%, 0%, 27.8%)
CIE-LABlab(30.20, 48.87, -70.36)
CIE-LCHlch(30.20, 85.66, 304.78°)
OKLaboklab(41.98% 0.0319 -0.2032)
OKLCHoklch(41.98% 0.206 278.9)
XYZxyz(11.5995, 6.3179, 45.9463)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2CB8 #A5B82C
analogous
#2C5FB8 #3F2CB8 #852CB8
triadic
#3F2CB8 #B83F2C #2CB83F
tetradic
#3F2CB8 #B82C5F #A5B82C #2CB885
square
#3F2CB8 #B82C5F #A5B82C #2CB885
split-complementary
#3F2CB8 #B8852C #5FB82C
monochromatic
#1D1455 #2E2087 #3F2CB8 #5F4DD4 #8C7EE0

Accessibility & contrast

On white

9.28
#3F2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3F2CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2CB8
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2CB8#FFFFFF#000000##FFFFFF
##3F2CB81.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBC
Deuteranopia (green-blind)
#0041B5
Tritanopia (blue-blind)
#005570
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f2cb8;
/* rgb */ color: rgb(63, 44, 184);
/* oklch */ color: oklch(42.0% 0.206 278.9);
Tailwind
colors: {
  custom: {
    50: '#8468cf',
    500: '#3f2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #3f2cb8;
$custom-light: #8468cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2cb8",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 248.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41976,
    "c": 0.20564,
    "h": 278.9
  },
  "luminance": 0.06319
}

Semantic roles & 50–950 ramp

primary
#3F2CB8
secondary
#BEC977
accent
#E543CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3F2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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