#3F3CA9#3F3CA9

#3F3CA9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.9% C 0.169 H 277.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#3F3CA9
RGBrgb(63, 60, 169)
HSLhsl(242, 48%, 45%)
HSVhsv(242, 64%, 66%)
CMYKcmyk(62.7%, 64.5%, 0%, 33.7%)
CIE-LABlab(32.15, 34.82, -58.21)
CIE-LCHlch(32.15, 67.83, 300.88°)
OKLaboklab(42.95% 0.0228 -0.1677)
OKLCHoklch(42.95% 0.169 277.8)
XYZxyz(10.8249, 7.1522, 38.3385)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3CA9 #A6A93C
analogous
#3C70A9 #3F3CA9 #753CA9
triadic
#3F3CA9 #A93F3C #3CA93F
tetradic
#3F3CA9 #A93C70 #A6A93C #3CA975
square
#3F3CA9 #A93C70 #A6A93C #3CA975
split-complementary
#3F3CA9 #A9753C #70A93C
monochromatic
#1D1C4F #2E2C7C #3F3CA9 #605DC5 #8C8AD5

Accessibility & contrast

On white

8.64
#3F3CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3F3CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3CA9
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3CA9#FFFFFF#000000##FFFFFF
##3F3CA91.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f3ca9;
/* rgb */ color: rgb(63, 60, 169);
/* oklch */ color: oklch(42.9% 0.169 277.8);
Tailwind
colors: {
  custom: {
    50: '#8072c3',
    500: '#3f3ca9',
    950: '#000000',
  },
}
SCSS
$custom: #3f3ca9;
$custom-light: #8072c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3ca9",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 241.651,
    "s": 47.598,
    "l": 44.902
  },
  "oklch": {
    "l": 0.42949,
    "c": 0.16922,
    "h": 277.8
  },
  "luminance": 0.07153
}

Semantic roles & 50–950 ramp

primary
#3F3CA9
secondary
#BEC081
accent
#D751D3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3F3CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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