#3F3CB2#3F3CB2

#3F3CB2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.181 H 277.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#3F3CB2
RGBrgb(63, 60, 178)
HSLhsl(242, 50%, 47%)
HSVhsv(242, 66%, 70%)
CMYKcmyk(64.6%, 66.3%, 0%, 30.2%)
CIE-LABlab(32.92, 37.84, -62.32)
CIE-LCHlch(32.92, 72.91, 301.27°)
OKLaboklab(43.75% 0.022 -0.1797)
OKLCHoklch(43.75% 0.181 277)
XYZxyz(11.6990, 7.5019, 42.9423)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3CB2 #AFB23C
analogous
#3C74B2 #3F3CB2 #7A3CB2
triadic
#3F3CB2 #B23F3C #3CB23F
tetradic
#3F3CB2 #B23C74 #AFB23C #3CB27A
square
#3F3CB2 #B23C74 #AFB23C #3CB27A
split-complementary
#3F3CB2 #B27A3C #74B23C
monochromatic
#1F1D56 #2F2D84 #3F3CB2 #6461CA #918FD9

Accessibility & contrast

On white

8.40
#3F3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3F3CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3CB2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3CB2#FFFFFF#000000##FFFFFF
##3F3CB21.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0048B0
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f3cb2;
/* rgb */ color: rgb(63, 60, 178);
/* oklch */ color: oklch(43.7% 0.181 277.0);
Tailwind
colors: {
  custom: {
    50: '#8272ca',
    500: '#3f3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #3f3cb2;
$custom-light: #8272ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3cb2",
  "rgb": {
    "r": 63,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 241.525,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43749,
    "c": 0.18106,
    "h": 277
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#3F3CB2
secondary
#C3C486
accent
#D94FD6
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3F3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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