#3F34CC#3F34CC

#3F34CC is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.1% C 0.222 H 275.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3F34CC
RGBrgb(63, 52, 204)
HSLhsl(244, 60%, 50%)
HSVhsv(244, 75%, 80%)
CMYKcmyk(69.1%, 74.5%, 0%, 20%)
CIE-LABlab(33.71, 50.86, -76.31)
CIE-LCHlch(33.71, 91.71, 303.69°)
OKLaboklab(45.06% 0.023 -0.2206)
OKLCHoklch(45.06% 0.222 275.9)
XYZxyz(14.1734, 7.8711, 57.8874)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34CC #C1CC34
analogous
#3475CC #3F34CC #8B34CC
triadic
#3F34CC #CC3F34 #34CC3F
tetradic
#3F34CC #CC3475 #C1CC34 #34CC8B
square
#3F34CC #CC3475 #C1CC34 #34CC8B
split-complementary
#3F34CC #CC8B34 #75CC34
monochromatic
#211B6B #30279C #3F34CC #6D65D8 #9C96E5

Accessibility & contrast

On white

8.16
#3F34CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3F34CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34CC
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34CC#FFFFFF#000000##FFFFFF
##3F34CC1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D0
Deuteranopia (green-blind)
#0048C9
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f34cc;
/* rgb */ color: rgb(63, 52, 204);
/* oklch */ color: oklch(45.1% 0.222 275.9);
Tailwind
colors: {
  custom: {
    50: '#886edd',
    500: '#3f34cc',
    950: '#000000',
  },
}
SCSS
$custom: #3f34cc;
$custom-light: #886edd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34cc",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 244.342,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45057,
    "c": 0.22177,
    "h": 275.9
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#3F34CC
secondary
#CBD08C
accent
#E345D8
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3F34CC

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

Preview Lab → · Contrast checker → · Palette generator →

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