#3F34D1#3F34D1

#3F34D1 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.6% C 0.228 H 275.5°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#3F34D1
RGBrgb(63, 52, 209)
HSLhsl(244, 63%, 51%)
HSVhsv(244, 75%, 82%)
CMYKcmyk(69.9%, 75.1%, 0%, 18%)
CIE-LABlab(34.22, 52.42, -78.37)
CIE-LCHlch(34.22, 94.29, 303.78°)
OKLaboklab(45.57% 0.0219 -0.2266)
OKLCHoklch(45.57% 0.228 275.5)
XYZxyz(14.7827, 8.1148, 61.0965)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34D1 #C6D134
analogous
#3477D1 #3F34D1 #8D34D1
triadic
#3F34D1 #D13F34 #34D13F
tetradic
#3F34D1 #D13477 #C6D134 #34D18D
square
#3F34D1 #D13477 #C6D134 #34D18D
split-complementary
#3F34D1 #D18D34 #77D134
monochromatic
#201A71 #2E25A3 #3F34D1 #6E66DC #9D98E8

Accessibility & contrast

On white

8.01
#3F34D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3F34D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34D1
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34D1#FFFFFF#000000##FFFFFF
##3F34D11.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D5
Deuteranopia (green-blind)
#0049CE
Tritanopia (blue-blind)
#006281
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f34d1;
/* rgb */ color: rgb(63, 52, 209);
/* oklch */ color: oklch(45.6% 0.228 275.5);
Tailwind
colors: {
  custom: {
    50: '#896ee0',
    500: '#3f34d1',
    950: '#000000',
  },
}
SCSS
$custom: #3f34d1;
$custom-light: #896ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34d1",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 209
  },
  "hsl": {
    "h": 244.204,
    "s": 63.052,
    "l": 51.176
  },
  "oklch": {
    "l": 0.45566,
    "c": 0.22765,
    "h": 275.5
  },
  "luminance": 0.08116
}

Semantic roles & 50–950 ramp

primary
#3F34D1
secondary
#CED38E
accent
#E642DB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3F34D1

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

Preview Lab → · Contrast checker → · Palette generator →

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