#3F2DB9#3F2DB9

#3F2DB9 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.2% C 0.206 H 278.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#3F2DB9
RGBrgb(63, 45, 185)
HSLhsl(248, 61%, 45%)
HSVhsv(248, 76%, 73%)
CMYKcmyk(65.9%, 75.7%, 0%, 27.5%)
CIE-LABlab(30.49, 48.66, -70.48)
CIE-LCHlch(30.49, 85.64, 304.62°)
OKLaboklab(42.21% 0.0311 -0.2035)
OKLCHoklch(42.21% 0.206 278.7)
XYZxyz(11.7424, 6.4353, 46.5129)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2DB9 #A7B92D
analogous
#2D61B9 #3F2DB9 #852DB9
triadic
#3F2DB9 #B93F2D #2DB93F
tetradic
#3F2DB9 #B92D61 #A7B92D #2DB985
square
#3F2DB9 #B92D61 #A7B92D #2DB985
split-complementary
#3F2DB9 #B9852D #61B92D
monochromatic
#1D1557 #2E2188 #3F2DB9 #604FD4 #8D80E0

Accessibility & contrast

On white

9.18
#3F2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3F2DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2DB9
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2DB9#FFFFFF#000000##FFFFFF
##3F2DB91.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3f2db9;
/* rgb */ color: rgb(63, 45, 185);
/* oklch */ color: oklch(42.2% 0.206 278.7);
Tailwind
colors: {
  custom: {
    50: '#8469cf',
    500: '#3f2db9',
    950: '#000000',
  },
}
SCSS
$custom: #3f2db9;
$custom-light: #8469cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2db9",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 247.714,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42206,
    "c": 0.20588,
    "h": 278.7
  },
  "luminance": 0.06436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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