#3F33A5#3F33A5

#3F33A5 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.175 H 280.2°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#3F33A5
RGBrgb(63, 51, 165)
HSLhsl(246, 53%, 42%)
HSVhsv(246, 69%, 65%)
CMYKcmyk(61.8%, 69.1%, 0%, 35.3%)
CIE-LABlab(29.76, 38.97, -59.71)
CIE-LCHlch(29.76, 71.30, 303.13°)
OKLaboklab(41.11% 0.0309 -0.1721)
OKLCHoklch(41.11% 0.175 280.2)
XYZxyz(10.0231, 6.1403, 36.2470)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F33A5 #99A533
analogous
#3360A5 #3F33A5 #7833A5
triadic
#3F33A5 #A53F33 #33A53F
tetradic
#3F33A5 #A53360 #99A533 #33A578
square
#3F33A5 #A53360 #99A533 #33A578
split-complementary
#3F33A5 #A57833 #60A533
monochromatic
#1B1648 #2D2576 #3F33A5 #5A4DC8 #857CD6

Accessibility & contrast

On white

9.42
#3F33A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3F33A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F33A5
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F33A5#FFFFFF#000000##FFFFFF
##3F33A51.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f33a5;
/* rgb */ color: rgb(63, 51, 165);
/* oklch */ color: oklch(41.1% 0.175 280.2);
Tailwind
colors: {
  custom: {
    50: '#806cc1',
    500: '#3f33a5',
    950: '#000000',
  },
}
SCSS
$custom: #3f33a5;
$custom-light: #806cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f33a5",
  "rgb": {
    "r": 63,
    "g": 51,
    "b": 165
  },
  "hsl": {
    "h": 246.316,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41111,
    "c": 0.17482,
    "h": 280.2
  },
  "luminance": 0.06141
}

Semantic roles & 50–950 ramp

primary
#3F33A5
secondary
#B7BF75
accent
#DC4CCD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F33A5

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

Preview Lab → · Contrast checker → · Palette generator →

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