#3F3DBA#3F3DBA

#3F3DBA is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.6% C 0.190 H 276.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3F3DBA
RGBrgb(63, 61, 186)
HSLhsl(241, 51%, 48%)
HSVhsv(241, 67%, 73%)
CMYKcmyk(66.1%, 67.2%, 0%, 27.1%)
CIE-LABlab(33.85, 39.91, -65.53)
CIE-LCHlch(33.85, 76.73, 301.34°)
OKLaboklab(44.64% 0.0203 -0.1891)
OKLCHoklch(44.64% 0.19 276.1)
XYZxyz(12.5787, 7.9383, 47.3142)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F3DBA #B8BA3D
analogous
#3D79BA #3F3DBA #7D3DBA
triadic
#3F3DBA #BA3F3D #3DBA3F
tetradic
#3F3DBA #BA3D79 #B8BA3D #3DBA7D
square
#3F3DBA #BA3D79 #B8BA3D #3DBA7D
split-complementary
#3F3DBA #BA7D3D #79BA3D
monochromatic
#201F5E #2F2E8C #3F3DBA #6967CD #9695DC

Accessibility & contrast

On white

8.12
#3F3DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3F3DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F3DBA
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F3DBA#FFFFFF#000000##FFFFFF
##3F3DBA1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#004AB8
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f3dba;
/* rgb */ color: rgb(63, 61, 186);
/* oklch */ color: oklch(44.6% 0.190 276.1);
Tailwind
colors: {
  custom: {
    50: '#8373d0',
    500: '#3f3dba',
    950: '#000000',
  },
}
SCSS
$custom: #3f3dba;
$custom-light: #8373d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f3dba",
  "rgb": {
    "r": 63,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 240.96,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44641,
    "c": 0.19022,
    "h": 276.1
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#3F3DBA
secondary
#C7C88B
accent
#DA4ED8
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3F3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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