#3F3CAA#3F3CAA

#3F3CAA is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.171 H 277.7°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#3F3CAA
RGBrgb(63, 60, 170)
HSLhsl(242, 48%, 45%)
HSVhsv(242, 65%, 67%)
CMYKcmyk(62.9%, 64.7%, 0%, 33.3%)
CIE-LABlab(32.24, 35.15, -58.67)
CIE-LCHlch(32.24, 68.40, 300.93°)
OKLaboklab(43.04% 0.0228 -0.169)
OKLCHoklch(43.04% 0.171 277.7)
XYZxyz(10.9191, 7.1899, 38.8348)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3CAA #A7AA3C
analogous
#3C70AA #3F3CAA #763CAA
triadic
#3F3CAA #AA3F3C #3CAA3F
tetradic
#3F3CAA #AA3C70 #A7AA3C #3CAA76
square
#3F3CAA #AA3C70 #A7AA3C #3CAA76
split-complementary
#3F3CAA #AA763C #70AA3C
monochromatic
#1D1C50 #2E2C7D #3F3CAA #605DC6 #8D8BD6

Accessibility & contrast

On white

8.61
#3F3CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3F3CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3CAA
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3CAA#FFFFFF#000000##FFFFFF
##3F3CAA1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f3caa;
/* rgb */ color: rgb(63, 60, 170);
/* oklch */ color: oklch(43.0% 0.171 277.7);
Tailwind
colors: {
  custom: {
    50: '#8072c4',
    500: '#3f3caa',
    950: '#000000',
  },
}
SCSS
$custom: #3f3caa;
$custom-light: #8072c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3caa",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 241.636,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43036,
    "c": 0.17054,
    "h": 277.7
  },
  "luminance": 0.07191
}

Semantic roles & 50–950 ramp

primary
#3F3CAA
secondary
#BFC081
accent
#D750D4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3F3CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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