#3F28BA#3F28BA

#3F28BA is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.7% C 0.212 H 279.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#3F28BA
RGBrgb(63, 40, 186)
HSLhsl(249, 65%, 44%)
HSVhsv(249, 78%, 73%)
CMYKcmyk(66.1%, 78.5%, 0%, 27.1%)
CIE-LABlab(29.71, 51.48, -72.35)
CIE-LCHlch(29.71, 88.80, 305.43°)
OKLaboklab(41.69% 0.0336 -0.2089)
OKLCHoklch(41.69% 0.212 279.1)
XYZxyz(11.6688, 6.1185, 47.0109)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F28BA #A3BA28
analogous
#285ABA #3F28BA #8828BA
triadic
#3F28BA #BA3F28 #28BA3F
tetradic
#3F28BA #BA285A #A3BA28 #28BA88
square
#3F28BA #BA285A #A3BA28 #28BA88
split-complementary
#3F28BA #BA8828 #5ABA28
monochromatic
#1D1255 #2E1D88 #3F28BA #5E48D8 #8A7AE2

Accessibility & contrast

On white

9.44
#3F28BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3F28BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F28BA
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F28BA#FFFFFF#000000##FFFFFF
##3F28BA1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#0040B7
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f28ba;
/* rgb */ color: rgb(63, 40, 186);
/* oklch */ color: oklch(41.7% 0.212 279.1);
Tailwind
colors: {
  custom: {
    50: '#8566d0',
    500: '#3f28ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f28ba;
$custom-light: #8566d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f28ba",
  "rgb": {
    "r": 63,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 249.452,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41694,
    "c": 0.21162,
    "h": 279.1
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#3F28BA
secondary
#BDCA73
accent
#E840CD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3F28BA

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

Preview Lab → · Contrast checker → · Palette generator →

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