#3F29AF#3F29AF

#3F29AF is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.7% C 0.198 H 280.5°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3F29AF
RGBrgb(63, 41, 175)
HSLhsl(250, 62%, 42%)
HSVhsv(250, 77%, 69%)
CMYKcmyk(64%, 76.6%, 0%, 31.4%)
CIE-LABlab(28.74, 47.67, -67.40)
CIE-LCHlch(28.74, 82.56, 305.27°)
OKLaboklab(40.67% 0.0359 -0.1945)
OKLCHoklch(40.67% 0.198 280.5)
XYZxyz(10.5782, 5.7370, 41.0990)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F29AF #99AF29
analogous
#2956AF #3F29AF #8229AF
triadic
#3F29AF #AF3F29 #29AF3F
tetradic
#3F29AF #AF2956 #99AF29 #29AF82
square
#3F29AF #AF2956 #99AF29 #29AF82
split-complementary
#3F29AF #AF8229 #56AF29
monochromatic
#1B124C #2D1D7D #3F29AF #5A42D3 #8574DE

Accessibility & contrast

On white

9.78
#3F29AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3F29AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F29AF
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F29AF#FFFFFF#000000##FFFFFF
##3F29AF1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f29af;
/* rgb */ color: rgb(63, 41, 175);
/* oklch */ color: oklch(40.7% 0.198 280.5);
Tailwind
colors: {
  custom: {
    50: '#8366c8',
    500: '#3f29af',
    950: '#000000',
  },
}
SCSS
$custom: #3f29af;
$custom-light: #8366c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f29af",
  "rgb": {
    "r": 63,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 249.851,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40674,
    "c": 0.19781,
    "h": 280.5
  },
  "luminance": 0.05738
}

Semantic roles & 50–950 ramp

primary
#3F29AF
secondary
#B7C66E
accent
#E543CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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