#3F33A2#3F33A2

#3F33A2 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.171 H 280.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#3F33A2
RGBrgb(63, 51, 162)
HSLhsl(246, 52%, 42%)
HSVhsv(246, 69%, 64%)
CMYKcmyk(61.1%, 68.5%, 0%, 36.5%)
CIE-LABlab(29.49, 37.99, -58.34)
CIE-LCHlch(29.49, 69.62, 303.07°)
OKLaboklab(40.83% 0.0313 -0.1681)
OKLCHoklch(40.83% 0.171 280.5)
XYZxyz(9.7533, 6.0324, 34.8258)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F33A2 #96A233
analogous
#335FA2 #3F33A2 #7733A2
triadic
#3F33A2 #A23F33 #33A23F
tetradic
#3F33A2 #A2335F #96A233 #33A277
square
#3F33A2 #A2335F #96A233 #33A277
split-complementary
#3F33A2 #A27733 #5FA233
monochromatic
#1B1645 #2D2473 #3F33A2 #594CC7 #847AD5

Accessibility & contrast

On white

9.52
#3F33A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3F33A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F33A2
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F33A2#FFFFFF#000000##FFFFFF
##3F33A21.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f33a2;
/* rgb */ color: rgb(63, 51, 162);
/* oklch */ color: oklch(40.8% 0.171 280.5);
Tailwind
colors: {
  custom: {
    50: '#7f6cbf',
    500: '#3f33a2',
    950: '#000000',
  },
}
SCSS
$custom: #3f33a2;
$custom-light: #7f6cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f33a2",
  "rgb": {
    "r": 63,
    "g": 51,
    "b": 162
  },
  "hsl": {
    "h": 246.486,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40834,
    "c": 0.17096,
    "h": 280.5
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#3F33A2
secondary
#B6BE73
accent
#DC4CCC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F33A2

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

Preview Lab → · Contrast checker → · Palette generator →

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