#3F34A5#3F34A5

#3F34A5 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.174 H 280.0°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#3F34A5
RGBrgb(63, 52, 165)
HSLhsl(246, 52%, 43%)
HSVhsv(246, 68%, 65%)
CMYKcmyk(61.8%, 68.5%, 0%, 35.3%)
CIE-LABlab(29.98, 38.37, -59.35)
CIE-LCHlch(29.98, 70.68, 302.88°)
OKLaboklab(41.27% 0.03 -0.171)
OKLCHoklch(41.27% 0.174 280)
XYZxyz(10.0673, 6.2286, 36.2617)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34A5 #9AA534
analogous
#3461A5 #3F34A5 #7834A5
triadic
#3F34A5 #A53F34 #34A53F
tetradic
#3F34A5 #A53461 #9AA534 #34A578
square
#3F34A5 #A53461 #9AA534 #34A578
split-complementary
#3F34A5 #A57834 #61A534
monochromatic
#1B1748 #2D2576 #3F34A5 #5A4FC7 #867DD6

Accessibility & contrast

On white

9.35
#3F34A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3F34A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34A5
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34A5#FFFFFF#000000##FFFFFF
##3F34A51.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f34a5;
/* rgb */ color: rgb(63, 52, 165);
/* oklch */ color: oklch(41.3% 0.174 280.0);
Tailwind
colors: {
  custom: {
    50: '#806dc1',
    500: '#3f34a5',
    950: '#000000',
  },
}
SCSS
$custom: #3f34a5;
$custom-light: #806dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34a5",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 245.841,
    "s": 52.074,
    "l": 42.549
  },
  "oklch": {
    "l": 0.41268,
    "c": 0.17365,
    "h": 280
  },
  "luminance": 0.06229
}

Semantic roles & 50–950 ramp

primary
#3F34A5
secondary
#B8BF76
accent
#DC4CCE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3F34A5

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

Preview Lab → · Contrast checker → · Palette generator →

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