#3F34AE#3F34AE

#3F34AE is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.185 H 278.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3F34AE
RGBrgb(63, 52, 174)
HSLhsl(245, 54%, 44%)
HSVhsv(245, 70%, 68%)
CMYKcmyk(63.8%, 70.1%, 0%, 31.8%)
CIE-LABlab(30.80, 41.30, -63.41)
CIE-LCHlch(30.80, 75.68, 303.08°)
OKLaboklab(42.11% 0.0287 -0.1829)
OKLCHoklch(42.11% 0.185 278.9)
XYZxyz(10.9154, 6.5679, 40.7287)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34AE #A3AE34
analogous
#3466AE #3F34AE #7C34AE
triadic
#3F34AE #AE3F34 #34AE3F
tetradic
#3F34AE #AE3466 #A3AE34 #34AE7C
square
#3F34AE #AE3466 #A3AE34 #34AE7C
split-complementary
#3F34AE #AE7C34 #66AE34
monochromatic
#1D1850 #2E267F #3F34AE #5E53CC #8A83DA

Accessibility & contrast

On white

9.08
#3F34AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3F34AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34AE
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34AE#FFFFFF#000000##FFFFFF
##3F34AE1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB2
Deuteranopia (green-blind)
#0044AC
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3f34ae;
/* rgb */ color: rgb(63, 52, 174);
/* oklch */ color: oklch(42.1% 0.185 278.9);
Tailwind
colors: {
  custom: {
    50: '#826dc7',
    500: '#3f34ae',
    950: '#000000',
  },
}
SCSS
$custom: #3f34ae;
$custom-light: #826dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34ae",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 245.41,
    "s": 53.982,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42109,
    "c": 0.18515,
    "h": 278.9
  },
  "luminance": 0.06569
}

Semantic roles & 50–950 ramp

primary
#3F34AE
secondary
#BDC37B
accent
#DD4AD0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F34AE

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

Preview Lab → · Contrast checker → · Palette generator →

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