#3F33AC#3F33AC

#3F33AC is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.8% C 0.184 H 279.3°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#3F33AC
RGBrgb(63, 51, 172)
HSLhsl(246, 54%, 44%)
HSVhsv(246, 70%, 67%)
CMYKcmyk(63.4%, 70.3%, 0%, 32.5%)
CIE-LABlab(30.41, 41.24, -62.87)
CIE-LCHlch(30.41, 75.18, 303.26°)
OKLaboklab(41.77% 0.0297 -0.1813)
OKLCHoklch(41.77% 0.184 279.3)
XYZxyz(10.6777, 6.4021, 39.6948)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F33AC #A0AC33
analogous
#3363AC #3F33AC #7B33AC
triadic
#3F33AC #AC3F33 #33AC3F
tetradic
#3F33AC #AC3363 #A0AC33 #33AC7B
square
#3F33AC #AC3363 #A0AC33 #33AC7B
split-complementary
#3F33AC #AC7B33 #63AC33
monochromatic
#1C174E #2E257D #3F33AC #5D51CB #8980D9

Accessibility & contrast

On white

9.21
#3F33AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3F33AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F33AC
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F33AC#FFFFFF#000000##FFFFFF
##3F33AC1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3f33ac;
/* rgb */ color: rgb(63, 51, 172);
/* oklch */ color: oklch(41.8% 0.184 279.3);
Tailwind
colors: {
  custom: {
    50: '#816cc6',
    500: '#3f33ac',
    950: '#000000',
  },
}
SCSS
$custom: #3f33ac;
$custom-light: #816cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f33ac",
  "rgb": {
    "r": 63,
    "g": 51,
    "b": 172
  },
  "hsl": {
    "h": 245.95,
    "s": 54.26,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41768,
    "c": 0.18375,
    "h": 279.3
  },
  "luminance": 0.06403
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F33AC

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

Preview Lab → · Contrast checker → · Palette generator →

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