#3F34AB#3F34AB

#3F34AB is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.181 H 279.2°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#3F34AB
RGBrgb(63, 52, 171)
HSLhsl(246, 53%, 44%)
HSVhsv(246, 70%, 67%)
CMYKcmyk(63.2%, 69.6%, 0%, 32.9%)
CIE-LABlab(30.53, 40.33, -62.07)
CIE-LCHlch(30.53, 74.02, 303.01°)
OKLaboklab(41.83% 0.0291 -0.179)
OKLCHoklch(41.83% 0.181 279.2)
XYZxyz(10.6262, 6.4522, 39.2056)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F34AB #A0AB34
analogous
#3464AB #3F34AB #7A34AB
triadic
#3F34AB #AB3F34 #34AB3F
tetradic
#3F34AB #AB3464 #A0AB34 #34AB7A
square
#3F34AB #AB3464 #A0AB34 #34AB7A
split-complementary
#3F34AB #AB7A34 #64AB34
monochromatic
#1C174D #2E267C #3F34AB #5D52CA #8981D9

Accessibility & contrast

On white

9.17
#3F34AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3F34AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F34AB
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F34AB#FFFFFF#000000##FFFFFF
##3F34AB1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3f34ab;
/* rgb */ color: rgb(63, 52, 171);
/* oklch */ color: oklch(41.8% 0.181 279.2);
Tailwind
colors: {
  custom: {
    50: '#816dc5',
    500: '#3f34ab',
    950: '#000000',
  },
}
SCSS
$custom: #3f34ab;
$custom-light: #816dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f34ab",
  "rgb": {
    "r": 63,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 245.546,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41826,
    "c": 0.18134,
    "h": 279.2
  },
  "luminance": 0.06453
}

Semantic roles & 50–950 ramp

primary
#3F34AB
secondary
#BBC279
accent
#DD4BCF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F34AB

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

Preview Lab → · Contrast checker → · Palette generator →

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