#3F33B5#3F33B5

#3F33B5 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.6% C 0.195 H 278.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#3F33B5
RGBrgb(63, 51, 181)
HSLhsl(246, 56%, 45%)
HSVhsv(246, 72%, 71%)
CMYKcmyk(65.2%, 71.8%, 0%, 29%)
CIE-LABlab(31.25, 44.13, -66.84)
CIE-LCHlch(31.25, 80.10, 303.44°)
OKLaboklab(42.63% 0.0281 -0.1929)
OKLCHoklch(42.63% 0.195 278.3)
XYZxyz(11.5715, 6.7597, 44.4021)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F33B5 #A9B533
analogous
#3368B5 #3F33B5 #8033B5
triadic
#3F33B5 #B53F33 #33B53F
tetradic
#3F33B5 #B53368 #A9B533 #33B580
square
#3F33B5 #B53368 #A9B533 #33B580
split-complementary
#3F33B5 #B58033 #68B533
monochromatic
#1E1856 #2E2685 #3F33B5 #6156CF #8E86DD

Accessibility & contrast

On white

8.93
#3F33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3F33B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F33B5
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F33B5#FFFFFF#000000##FFFFFF
##3F33B51.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f33b5;
/* rgb */ color: rgb(63, 51, 181);
/* oklch */ color: oklch(42.6% 0.195 278.3);
Tailwind
colors: {
  custom: {
    50: '#836ccc',
    500: '#3f33b5',
    950: '#000000',
  },
}
SCSS
$custom: #3f33b5;
$custom-light: #836ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f33b5",
  "rgb": {
    "r": 63,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 245.538,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42632,
    "c": 0.19499,
    "h": 278.3
  },
  "luminance": 0.06761
}

Semantic roles & 50–950 ramp

primary
#3F33B5
secondary
#C0C67D
accent
#DF48D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3F33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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