#3F31AE#3F31AE

#3F31AE is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.7% C 0.188 H 279.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#3F31AE
RGBrgb(63, 49, 174)
HSLhsl(247, 56%, 44%)
HSVhsv(247, 72%, 68%)
CMYKcmyk(63.8%, 71.8%, 0%, 31.8%)
CIE-LABlab(30.18, 43.03, -64.44)
CIE-LCHlch(30.18, 77.48, 303.73°)
OKLaboklab(41.66% 0.0308 -0.1859)
OKLCHoklch(41.66% 0.188 279.4)
XYZxyz(10.7858, 6.3085, 40.6855)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F31AE #A0AE31
analogous
#3161AE #3F31AE #7D31AE
triadic
#3F31AE #AE3F31 #31AE3F
tetradic
#3F31AE #AE3161 #A0AE31 #31AE7D
square
#3F31AE #AE3161 #A0AE31 #31AE7D
split-complementary
#3F31AE #AE7D31 #61AE31
monochromatic
#1C164E #2E247E #3F31AE #5D4FCD #897FDB

Accessibility & contrast

On white

9.28
#3F31AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3F31AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F31AE
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F31AE#FFFFFF#000000##FFFFFF
##3F31AE1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f31ae;
/* rgb */ color: rgb(63, 49, 174);
/* oklch */ color: oklch(41.7% 0.188 279.4);
Tailwind
colors: {
  custom: {
    50: '#826bc7',
    500: '#3f31ae',
    950: '#000000',
  },
}
SCSS
$custom: #3f31ae;
$custom-light: #826bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f31ae",
  "rgb": {
    "r": 63,
    "g": 49,
    "b": 174
  },
  "hsl": {
    "h": 246.72,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41663,
    "c": 0.18845,
    "h": 279.4
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#3F31AE
secondary
#BBC477
accent
#DF48CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3F31AE

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

Preview Lab → · Contrast checker → · Palette generator →

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