#3F2BB8#3F2BB8

#3F2BB8 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.207 H 279.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3F2BB8
RGBrgb(63, 43, 184)
HSLhsl(249, 62%, 45%)
HSVhsv(249, 77%, 72%)
CMYKcmyk(65.8%, 76.6%, 0%, 27.8%)
CIE-LABlab(30.02, 49.38, -70.65)
CIE-LCHlch(30.02, 86.20, 304.95°)
OKLaboklab(41.85% 0.0325 -0.204)
OKLCHoklch(41.85% 0.207 279)
XYZxyz(11.5627, 6.2443, 45.9340)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2BB8 #A4B82B
analogous
#2B5DB8 #3F2BB8 #862BB8
triadic
#3F2BB8 #B83F2B #2BB83F
tetradic
#3F2BB8 #B82B5D #A4B82B #2BB886
square
#3F2BB8 #B82B5D #A4B82B #2BB886
split-complementary
#3F2BB8 #B8862B #5DB82B
monochromatic
#1D1455 #2E1F86 #3F2BB8 #5F4BD5 #8B7DE1

Accessibility & contrast

On white

9.34
#3F2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3F2BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2BB8
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2BB8#FFFFFF#000000##FFFFFF
##3F2BB81.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2bb8;
/* rgb */ color: rgb(63, 43, 184);
/* oklch */ color: oklch(41.8% 0.207 279.0);
Tailwind
colors: {
  custom: {
    50: '#8468cf',
    500: '#3f2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #3f2bb8;
$custom-light: #8468cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2bb8",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 248.511,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41849,
    "c": 0.20658,
    "h": 279
  },
  "luminance": 0.06245
}

Semantic roles & 50–950 ramp

primary
#3F2BB8
secondary
#BDC976
accent
#E543CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3F2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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