#3F2DBA#3F2DBA

#3F2DBA is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.3% C 0.207 H 278.6°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#3F2DBA
RGBrgb(63, 45, 186)
HSLhsl(248, 61%, 45%)
HSVhsv(248, 76%, 73%)
CMYKcmyk(66.1%, 75.8%, 0%, 27.1%)
CIE-LABlab(30.59, 48.97, -70.90)
CIE-LCHlch(30.59, 86.17, 304.63°)
OKLaboklab(42.31% 0.0308 -0.2048)
OKLCHoklch(42.31% 0.207 278.6)
XYZxyz(11.8484, 6.4777, 47.0708)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2DBA #A8BA2D
analogous
#2D61BA #3F2DBA #862DBA
triadic
#3F2DBA #BA3F2D #2DBA3F
tetradic
#3F2DBA #BA2D61 #A8BA2D #2DBA86
square
#3F2DBA #BA2D61 #A8BA2D #2DBA86
split-complementary
#3F2DBA #BA862D #61BA2D
monochromatic
#1E1557 #2E2189 #3F2DBA #6150D5 #8D81E0

Accessibility & contrast

On white

9.15
#3F2DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3F2DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2DBA
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2DBA#FFFFFF#000000##FFFFFF
##3F2DBA1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#0042B7
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3f2dba;
/* rgb */ color: rgb(63, 45, 186);
/* oklch */ color: oklch(42.3% 0.207 278.6);
Tailwind
colors: {
  custom: {
    50: '#8569d0',
    500: '#3f2dba',
    950: '#000000',
  },
}
SCSS
$custom: #3f2dba;
$custom-light: #8569d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2dba",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 186
  },
  "hsl": {
    "h": 247.66,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42308,
    "c": 0.20708,
    "h": 278.6
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#3F2DBA
secondary
#BFC979
accent
#E444D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3F2DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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