#3F28B9#3F28B9

#3F28B9 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.210 H 279.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#3F28B9
RGBrgb(63, 40, 185)
HSLhsl(250, 64%, 44%)
HSVhsv(250, 78%, 73%)
CMYKcmyk(65.9%, 78.4%, 0%, 27.5%)
CIE-LABlab(29.60, 51.18, -71.93)
CIE-LCHlch(29.60, 88.28, 305.43°)
OKLaboklab(41.59% 0.0338 -0.2077)
OKLCHoklch(41.59% 0.21 279.3)
XYZxyz(11.5628, 6.0762, 46.4530)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F28B9 #A2B928
analogous
#285AB9 #3F28B9 #8828B9
triadic
#3F28B9 #B93F28 #28B93F
tetradic
#3F28B9 #B9285A #A2B928 #28B988
square
#3F28B9 #B9285A #A2B928 #28B988
split-complementary
#3F28B9 #B98828 #5AB928
monochromatic
#1D1254 #2E1D87 #3F28B9 #5E47D7 #8A79E2

Accessibility & contrast

On white

9.48
#3F28B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F28B9
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F28B9#FFFFFF#000000##FFFFFF
##3F28B91.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBD
Deuteranopia (green-blind)
#0040B6
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f28b9;
/* rgb */ color: rgb(63, 40, 185);
/* oklch */ color: oklch(41.6% 0.210 279.3);
Tailwind
colors: {
  custom: {
    50: '#8566cf',
    500: '#3f28b9',
    950: '#000000',
  },
}
SCSS
$custom: #3f28b9;
$custom-light: #8566cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f28b9",
  "rgb": {
    "r": 63,
    "g": 40,
    "b": 185
  },
  "hsl": {
    "h": 249.517,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41589,
    "c": 0.21046,
    "h": 279.3
  },
  "luminance": 0.06077
}

Semantic roles & 50–950 ramp

primary
#3F28B9
secondary
#BCCA73
accent
#E740CD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #3F28B9

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

Preview Lab → · Contrast checker → · Palette generator →

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