#3F26BA#3F26BA

#3F26BA is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.5% C 0.213 H 279.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#3F26BA
RGBrgb(63, 38, 186)
HSLhsl(250, 66%, 44%)
HSVhsv(250, 80%, 73%)
CMYKcmyk(66.1%, 79.6%, 0%, 27.1%)
CIE-LABlab(29.38, 52.43, -72.90)
CIE-LCHlch(29.38, 89.79, 305.73°)
OKLaboklab(41.46% 0.0346 -0.2105)
OKLCHoklch(41.46% 0.213 279.3)
XYZxyz(11.6031, 5.9872, 46.9890)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F26BA #A1BA26
analogous
#2657BA #3F26BA #8926BA
triadic
#3F26BA #BA3F26 #26BA3F
tetradic
#3F26BA #BA2657 #A1BA26 #26BA89
square
#3F26BA #BA2657 #A1BA26 #26BA89
split-complementary
#3F26BA #BA8926 #57BA26
monochromatic
#1D1154 #2E1C87 #3F26BA #5D44D9 #8977E3

Accessibility & contrast

On white

9.56
#3F26BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3F26BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F26BA
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F26BA#FFFFFF#000000##FFFFFF
##3F26BA1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f26ba;
/* rgb */ color: rgb(63, 38, 186);
/* oklch */ color: oklch(41.5% 0.213 279.3);
Tailwind
colors: {
  custom: {
    50: '#8565d0',
    500: '#3f26ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f26ba;
$custom-light: #8565d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f26ba",
  "rgb": {
    "r": 63,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 250.135,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41464,
    "c": 0.21332,
    "h": 279.3
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#3F26BA
secondary
#BCCB71
accent
#E93FCC
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3F26BA

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

Preview Lab → · Contrast checker → · Palette generator →

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