#3F28BC#3F28BC

#3F28BC is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.9% C 0.214 H 278.9°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#3F28BC
RGBrgb(63, 40, 188)
HSLhsl(249, 65%, 45%)
HSVhsv(249, 79%, 74%)
CMYKcmyk(66.5%, 78.7%, 0%, 26.3%)
CIE-LABlab(29.92, 52.07, -73.19)
CIE-LCHlch(29.92, 89.82, 305.43°)
OKLaboklab(41.9% 0.033 -0.2114)
OKLCHoklch(41.9% 0.214 278.9)
XYZxyz(11.8829, 6.2042, 48.1385)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F28BC #A5BC28
analogous
#285BBC #3F28BC #8928BC
triadic
#3F28BC #BC3F28 #28BC3F
tetradic
#3F28BC #BC285B #A5BC28 #28BC89
square
#3F28BC #BC285B #A5BC28 #28BC89
split-complementary
#3F28BC #BC8928 #5BBC28
monochromatic
#1D1357 #2E1D8A #3F28BC #5F49D8 #8C7BE3

Accessibility & contrast

On white

9.37
#3F28BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3F28BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F28BC
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F28BC#FFFFFF#000000##FFFFFF
##3F28BC1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0040B9
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f28bc;
/* rgb */ color: rgb(63, 40, 188);
/* oklch */ color: oklch(41.9% 0.214 278.9);
Tailwind
colors: {
  custom: {
    50: '#8566d2',
    500: '#3f28bc',
    950: '#000000',
  },
}
SCSS
$custom: #3f28bc;
$custom-light: #8566d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f28bc",
  "rgb": {
    "r": 63,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 249.324,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41904,
    "c": 0.21392,
    "h": 278.9
  },
  "luminance": 0.06205
}

Semantic roles & 50–950 ramp

primary
#3F28BC
secondary
#BECB75
accent
#E840CE
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #3F28BC

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

Preview Lab → · Contrast checker → · Palette generator →

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