#3F3CB3#3F3CB3

#3F3CB3 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.8% C 0.182 H 276.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#3F3CB3
RGBrgb(63, 60, 179)
HSLhsl(242, 50%, 47%)
HSVhsv(242, 66%, 70%)
CMYKcmyk(64.8%, 66.5%, 0%, 29.8%)
CIE-LABlab(33.01, 38.18, -62.77)
CIE-LCHlch(33.01, 73.47, 301.31°)
OKLaboklab(43.84% 0.0219 -0.181)
OKLCHoklch(43.84% 0.182 276.9)
XYZxyz(11.7998, 7.5422, 43.4730)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3CB3 #B0B33C
analogous
#3C74B3 #3F3CB3 #7B3CB3
triadic
#3F3CB3 #B33F3C #3CB33F
tetradic
#3F3CB3 #B33C74 #B0B33C #3CB37B
square
#3F3CB3 #B33C74 #B0B33C #3CB37B
split-complementary
#3F3CB3 #B37B3C #74B33C
monochromatic
#1F1D57 #2F2D85 #3F3CB3 #6562CA #9290DA

Accessibility & contrast

On white

8.37
#3F3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3F3CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3CB3
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3CB3#FFFFFF#000000##FFFFFF
##3F3CB31.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f3cb3;
/* rgb */ color: rgb(63, 60, 179);
/* oklch */ color: oklch(43.8% 0.182 276.9);
Tailwind
colors: {
  custom: {
    50: '#8272cb',
    500: '#3f3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #3f3cb3;
$custom-light: #8272cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3cb3",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 241.513,
    "s": 49.791,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4384,
    "c": 0.18236,
    "h": 276.9
  },
  "luminance": 0.07543
}

Semantic roles & 50–950 ramp

primary
#3F3CB3
secondary
#C3C586
accent
#D94ED6
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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