#3F28BB#3F28BB

#3F28BB is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.8% C 0.213 H 279.0°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#3F28BB
RGBrgb(63, 40, 187)
HSLhsl(249, 65%, 45%)
HSVhsv(249, 79%, 73%)
CMYKcmyk(66.3%, 78.6%, 0%, 26.7%)
CIE-LABlab(29.82, 51.78, -72.77)
CIE-LCHlch(29.82, 89.31, 305.43°)
OKLaboklab(41.8% 0.0333 -0.2101)
OKLCHoklch(41.8% 0.213 279)
XYZxyz(11.7755, 6.1612, 47.5728)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F28BB #A4BB28
analogous
#285ABB #3F28BB #8928BB
triadic
#3F28BB #BB3F28 #28BB3F
tetradic
#3F28BB #BB285A #A4BB28 #28BB89
square
#3F28BB #BB285A #A4BB28 #28BB89
split-complementary
#3F28BB #BB8928 #5ABB28
monochromatic
#1D1256 #2E1D89 #3F28BB #5F48D8 #8B7BE3

Accessibility & contrast

On white

9.41
#3F28BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3F28BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F28BB
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F28BB#FFFFFF#000000##FFFFFF
##3F28BB1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f28bb;
/* rgb */ color: rgb(63, 40, 187);
/* oklch */ color: oklch(41.8% 0.213 279.0);
Tailwind
colors: {
  custom: {
    50: '#8566d1',
    500: '#3f28bb',
    950: '#000000',
  },
}
SCSS
$custom: #3f28bb;
$custom-light: #8566d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f28bb",
  "rgb": {
    "r": 63,
    "g": 40,
    "b": 187
  },
  "hsl": {
    "h": 249.388,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41799,
    "c": 0.21277,
    "h": 279
  },
  "luminance": 0.06162
}

Semantic roles & 50–950 ramp

primary
#3F28BB
secondary
#BDCB74
accent
#E840CE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3F28BB

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

Preview Lab → · Contrast checker → · Palette generator →

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