#3F33AA#3F33AA

#3F33AA is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.6% C 0.181 H 279.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#3F33AA
RGBrgb(63, 51, 170)
HSLhsl(246, 54%, 43%)
HSVhsv(246, 70%, 67%)
CMYKcmyk(62.9%, 70%, 0%, 33.3%)
CIE-LABlab(30.22, 40.59, -61.97)
CIE-LCHlch(30.22, 74.08, 303.22°)
OKLaboklab(41.58% 0.0301 -0.1787)
OKLCHoklch(41.58% 0.181 279.5)
XYZxyz(10.4871, 6.3259, 38.6908)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F33AA #9EAA33
analogous
#3363AA #3F33AA #7A33AA
triadic
#3F33AA #AA3F33 #33AA3F
tetradic
#3F33AA #AA3363 #9EAA33 #33AA7A
square
#3F33AA #AA3363 #9EAA33 #33AA7A
split-complementary
#3F33AA #AA7A33 #63AA33
monochromatic
#1C174C #2E257B #3F33AA #5C50CA #887FD9

Accessibility & contrast

On white

9.27
#3F33AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F33AA
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F33AA#FFFFFF#000000##FFFFFF
##3F33AA1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f33aa;
/* rgb */ color: rgb(63, 51, 170);
/* oklch */ color: oklch(41.6% 0.181 279.5);
Tailwind
colors: {
  custom: {
    50: '#816cc4',
    500: '#3f33aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f33aa;
$custom-light: #816cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f33aa",
  "rgb": {
    "r": 63,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 246.05,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41579,
    "c": 0.18121,
    "h": 279.5
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#3F33AA
secondary
#BAC277
accent
#DD4BCE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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