#3F2CA8#3F2CA8

#3F2CA8 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.4% C 0.186 H 281.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#3F2CA8
RGBrgb(63, 44, 168)
HSLhsl(249, 58%, 42%)
HSVhsv(249, 74%, 66%)
CMYKcmyk(62.5%, 73.8%, 0%, 34.1%)
CIE-LABlab(28.60, 43.92, -63.42)
CIE-LCHlch(28.60, 77.15, 304.70°)
OKLaboklab(40.37% 0.0356 -0.1829)
OKLCHoklch(40.37% 0.186 281)
XYZxyz(10.0162, 5.6845, 37.6076)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2CA8 #95A82C
analogous
#2C57A8 #3F2CA8 #7D2CA8
triadic
#3F2CA8 #A83F2C #2CA83F
tetradic
#3F2CA8 #A82C57 #95A82C #2CA87D
square
#3F2CA8 #A82C57 #95A82C #2CA87D
split-complementary
#3F2CA8 #A87D2C #57A82C
monochromatic
#1B1347 #2D1F78 #3F2CA8 #5943CE #8474DB

Accessibility & contrast

On white

9.83
#3F2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3F2CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2CA8
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2CA8#FFFFFF#000000##FFFFFF
##3F2CA81.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003FA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f2ca8;
/* rgb */ color: rgb(63, 44, 168);
/* oklch */ color: oklch(40.4% 0.186 281.0);
Tailwind
colors: {
  custom: {
    50: '#8168c3',
    500: '#3f2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #3f2ca8;
$custom-light: #8168c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2ca8",
  "rgb": {
    "r": 63,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 249.194,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40368,
    "c": 0.18636,
    "h": 281
  },
  "luminance": 0.05685
}

Semantic roles & 50–950 ramp

primary
#3F2CA8
secondary
#B5C26E
accent
#E246CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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