#3F3CA3#3F3CA3

#3F3CA3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.161 H 278.3°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#3F3CA3
RGBrgb(63, 60, 163)
HSLhsl(242, 46%, 44%)
HSVhsv(242, 63%, 64%)
CMYKcmyk(61.3%, 63.2%, 0%, 36.1%)
CIE-LABlab(31.65, 32.79, -55.42)
CIE-LCHlch(31.65, 64.39, 300.61°)
OKLaboklab(42.43% 0.0233 -0.1595)
OKLCHoklch(42.43% 0.161 278.3)
XYZxyz(10.2745, 6.9321, 35.4398)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3CA3 #A0A33C
analogous
#3C6CA3 #3F3CA3 #723CA3
triadic
#3F3CA3 #A33F3C #3CA33F
tetradic
#3F3CA3 #A33C6C #A0A33C #3CA372
square
#3F3CA3 #A33C6C #A0A33C #3CA372
split-complementary
#3F3CA3 #A3723C #6CA33C
monochromatic
#1C1B4A #2E2C76 #3F3CA3 #5D5AC2 #8987D3

Accessibility & contrast

On white

8.80
#3F3CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3F3CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3CA3
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3CA3#FFFFFF#000000##FFFFFF
##3F3CA31.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f3ca3;
/* rgb */ color: rgb(63, 60, 163);
/* oklch */ color: oklch(42.4% 0.161 278.3);
Tailwind
colors: {
  custom: {
    50: '#7f72bf',
    500: '#3f3ca3',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ca3;
$custom-light: #7f72bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ca3",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 241.748,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42428,
    "c": 0.16116,
    "h": 278.3
  },
  "luminance": 0.06933
}

Semantic roles & 50–950 ramp

primary
#3F3CA3
secondary
#BBBD7E
accent
#D652D2
background
#F8F6FB
surface
#EFECF7
border
#CAC7D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F3CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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