#3F34AC#3F34AC

#3F34AC is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.183 H 279.1°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#3F34AC
RGBrgb(63, 52, 172)
HSLhsl(246, 54%, 44%)
HSVhsv(246, 70%, 67%)
CMYKcmyk(63.4%, 69.8%, 0%, 32.5%)
CIE-LABlab(30.62, 40.65, -62.52)
CIE-LCHlch(30.62, 74.57, 303.03°)
OKLaboklab(41.92% 0.029 -0.1803)
OKLCHoklch(41.92% 0.183 279.1)
XYZxyz(10.7219, 6.4905, 39.7095)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34AC #A1AC34
analogous
#3465AC #3F34AC #7B34AC
triadic
#3F34AC #AC3F34 #34AC3F
tetradic
#3F34AC #AC3465 #A1AC34 #34AC7B
square
#3F34AC #AC3465 #A1AC34 #34AC7B
split-complementary
#3F34AC #AC7B34 #65AC34
monochromatic
#1D184E #2E267D #3F34AC #5D52CB #8981D9

Accessibility & contrast

On white

9.14
#3F34AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3F34AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34AC
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34AC#FFFFFF#000000##FFFFFF
##3F34AC1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3f34ac;
/* rgb */ color: rgb(63, 52, 172);
/* oklch */ color: oklch(41.9% 0.183 279.1);
Tailwind
colors: {
  custom: {
    50: '#816dc6',
    500: '#3f34ac',
    950: '#000000',
  },
}
SCSS
$custom: #3f34ac;
$custom-light: #816dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34ac",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 245.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4192,
    "c": 0.18262,
    "h": 279.1
  },
  "luminance": 0.06491
}

Semantic roles & 50–950 ramp

primary
#3F34AC
secondary
#BCC279
accent
#DD4BD0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F34AC

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

Preview Lab → · Contrast checker → · Palette generator →

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