#3F33A4#3F33A4

#3F33A4 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.0% C 0.174 H 280.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#3F33A4
RGBrgb(63, 51, 164)
HSLhsl(246, 53%, 42%)
HSVhsv(246, 69%, 64%)
CMYKcmyk(61.6%, 68.9%, 0%, 35.7%)
CIE-LABlab(29.67, 38.64, -59.25)
CIE-LCHlch(29.67, 70.74, 303.11°)
OKLaboklab(41.02% 0.031 -0.1708)
OKLCHoklch(41.02% 0.174 280.3)
XYZxyz(9.9324, 6.1040, 35.7696)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F33A4 #98A433
analogous
#335FA4 #3F33A4 #7833A4
triadic
#3F33A4 #A43F33 #33A43F
tetradic
#3F33A4 #A4335F #98A433 #33A478
square
#3F33A4 #A4335F #98A433 #33A478
split-complementary
#3F33A4 #A47833 #5FA433
monochromatic
#1B1647 #2D2475 #3F33A4 #5A4DC8 #857BD6

Accessibility & contrast

On white

9.46
#3F33A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3F33A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F33A4
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F33A4#FFFFFF#000000##FFFFFF
##3F33A41.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA7
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#005167
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f33a4;
/* rgb */ color: rgb(63, 51, 164);
/* oklch */ color: oklch(41.0% 0.174 280.3);
Tailwind
colors: {
  custom: {
    50: '#806cc0',
    500: '#3f33a4',
    950: '#000000',
  },
}
SCSS
$custom: #3f33a4;
$custom-light: #806cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f33a4",
  "rgb": {
    "r": 63,
    "g": 51,
    "b": 164
  },
  "hsl": {
    "h": 246.372,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41018,
    "c": 0.17354,
    "h": 280.3
  },
  "luminance": 0.06105
}

Semantic roles & 50–950 ramp

primary
#3F33A4
secondary
#B7BF74
accent
#DC4CCD
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F33A4

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

Preview Lab → · Contrast checker → · Palette generator →

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