#3F3BB8#3F3BB8

#3F3BB8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.1% C 0.190 H 276.7°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#3F3BB8
RGBrgb(63, 59, 184)
HSLhsl(242, 51%, 48%)
HSVhsv(242, 68%, 72%)
CMYKcmyk(65.8%, 67.9%, 0%, 27.8%)
CIE-LABlab(33.23, 40.45, -65.37)
CIE-LCHlch(33.23, 76.87, 301.75°)
OKLaboklab(44.14% 0.022 -0.1887)
OKLCHoklch(44.14% 0.19 276.7)
XYZxyz(12.2628, 7.6443, 46.1674)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3BB8 #B4B83B
analogous
#3B75B8 #3F3BB8 #7D3BB8
triadic
#3F3BB8 #B83F3B #3BB83F
tetradic
#3F3BB8 #B83B75 #B4B83B #3BB87D
square
#3F3BB8 #B83B75 #B4B83B #3BB87D
split-complementary
#3F3BB8 #B87D3B #75B83B
monochromatic
#1F1D5B #2F2C8A #3F3BB8 #6763CD #9492DC

Accessibility & contrast

On white

8.30
#3F3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3F3BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3BB8
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3BB8#FFFFFF#000000##FFFFFF
##3F3BB81.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0049B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f3bb8;
/* rgb */ color: rgb(63, 59, 184);
/* oklch */ color: oklch(44.1% 0.190 276.7);
Tailwind
colors: {
  custom: {
    50: '#8372ce',
    500: '#3f3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #3f3bb8;
$custom-light: #8372ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3bb8",
  "rgb": {
    "r": 63,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 241.92,
    "s": 51.44,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44136,
    "c": 0.18995,
    "h": 276.7
  },
  "luminance": 0.07645
}

Semantic roles & 50–950 ramp

primary
#3F3BB8
secondary
#C5C788
accent
#DB4DD6
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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