#3F34C2#3F34C2

#3F34C2 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.1% C 0.210 H 276.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#3F34C2
RGBrgb(63, 52, 194)
HSLhsl(245, 58%, 48%)
HSVhsv(245, 73%, 76%)
CMYKcmyk(67.5%, 73.2%, 0%, 23.9%)
CIE-LABlab(32.72, 47.72, -72.11)
CIE-LCHlch(32.72, 86.47, 303.49°)
OKLaboklab(44.05% 0.025 -0.2083)
OKLCHoklch(44.05% 0.21 276.8)
XYZxyz(13.0123, 7.4066, 51.7724)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34C2 #B7C234
analogous
#3470C2 #3F34C2 #8634C2
triadic
#3F34C2 #C23F34 #34C23F
tetradic
#3F34C2 #C23470 #B7C234 #34C286
square
#3F34C2 #C23470 #B7C234 #34C286
split-complementary
#3F34C2 #C28634 #70C234
monochromatic
#201A61 #2F2792 #3F34C2 #685FD4 #968FE1

Accessibility & contrast

On white

8.46
#3F34C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3F34C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34C2
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34C2#FFFFFF#000000##FFFFFF
##3F34C21.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C6
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#005C78
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f34c2;
/* rgb */ color: rgb(63, 52, 194);
/* oklch */ color: oklch(44.1% 0.210 276.8);
Tailwind
colors: {
  custom: {
    50: '#866ed6',
    500: '#3f34c2',
    950: '#000000',
  },
}
SCSS
$custom: #3f34c2;
$custom-light: #866ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34c2",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 244.648,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44052,
    "c": 0.20984,
    "h": 276.8
  },
  "luminance": 0.07408
}

Semantic roles & 50–950 ramp

primary
#3F34C2
secondary
#C6CC86
accent
#E147D5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #3F34C2

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

Preview Lab → · Contrast checker → · Palette generator →

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