#3F33AB#3F33AB

#3F33AB is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.182 H 279.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#3F33AB
RGBrgb(63, 51, 171)
HSLhsl(246, 54%, 44%)
HSVhsv(246, 70%, 67%)
CMYKcmyk(63.2%, 70.2%, 0%, 32.9%)
CIE-LABlab(30.31, 40.91, -62.42)
CIE-LCHlch(30.31, 74.63, 303.24°)
OKLaboklab(41.67% 0.0299 -0.18)
OKLCHoklch(41.67% 0.182 279.4)
XYZxyz(10.5821, 6.3639, 39.1909)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F33AB #9FAB33
analogous
#3363AB #3F33AB #7B33AB
triadic
#3F33AB #AB3F33 #33AB3F
tetradic
#3F33AB #AB3363 #9FAB33 #33AB7B
square
#3F33AB #AB3363 #9FAB33 #33AB7B
split-complementary
#3F33AB #AB7B33 #63AB33
monochromatic
#1C174D #2E257C #3F33AB #5D50CB #887FD9

Accessibility & contrast

On white

9.24
#3F33AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3F33AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F33AB
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F33AB#FFFFFF#000000##FFFFFF
##3F33AB1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f33ab;
/* rgb */ color: rgb(63, 51, 171);
/* oklch */ color: oklch(41.7% 0.182 279.4);
Tailwind
colors: {
  custom: {
    50: '#816cc5',
    500: '#3f33ab',
    950: '#000000',
  },
}
SCSS
$custom: #3f33ab;
$custom-light: #816cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f33ab",
  "rgb": {
    "r": 63,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 246,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41673,
    "c": 0.18248,
    "h": 279.4
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#3F33AB
secondary
#BBC278
accent
#DD4ACF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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