#3F34C9#3F34C9

#3F34C9 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.8% C 0.218 H 276.2°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3F34C9
RGBrgb(63, 52, 201)
HSLhsl(244, 59%, 50%)
HSVhsv(244, 74%, 79%)
CMYKcmyk(68.7%, 74.1%, 0%, 21.2%)
CIE-LABlab(33.41, 49.93, -75.06)
CIE-LCHlch(33.41, 90.15, 303.63°)
OKLaboklab(44.75% 0.0236 -0.2169)
OKLCHoklch(44.75% 0.218 276.2)
XYZxyz(13.8171, 7.7285, 56.0106)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34C9 #BEC934
analogous
#3473C9 #3F34C9 #8A34C9
triadic
#3F34C9 #C93F34 #34C93F
tetradic
#3F34C9 #C93473 #BEC934 #34C98A
square
#3F34C9 #C93473 #BEC934 #34C98A
split-complementary
#3F34C9 #C98A34 #73C934
monochromatic
#211B68 #302798 #3F34C9 #6C63D7 #9A94E3

Accessibility & contrast

On white

8.25
#3F34C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3F34C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34C9
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34C9#FFFFFF#000000##FFFFFF
##3F34C91.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#0048C6
Tritanopia (blue-blind)
#005F7C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f34c9;
/* rgb */ color: rgb(63, 52, 201);
/* oklch */ color: oklch(44.8% 0.218 276.2);
Tailwind
colors: {
  custom: {
    50: '#876edb',
    500: '#3f34c9',
    950: '#000000',
  },
}
SCSS
$custom: #3f34c9;
$custom-light: #876edb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34c9",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 244.43,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44753,
    "c": 0.21822,
    "h": 276.2
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

primary
#3F34C9
secondary
#C9CE8A
accent
#E246D7
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3F34C9

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

Preview Lab → · Contrast checker → · Palette generator →

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