#3F28BD#3F28BD

#3F28BD is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 42.0% C 0.215 H 278.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#3F28BD
RGBrgb(63, 40, 189)
HSLhsl(249, 65%, 45%)
HSVhsv(249, 79%, 74%)
CMYKcmyk(66.7%, 78.8%, 0%, 25.9%)
CIE-LABlab(30.03, 52.37, -73.60)
CIE-LCHlch(30.03, 90.33, 305.43°)
OKLaboklab(42.01% 0.0327 -0.2126)
OKLCHoklch(42.01% 0.215 278.8)
XYZxyz(11.9910, 6.2475, 48.7082)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F28BD #A6BD28
analogous
#285BBD #3F28BD #8A28BD
triadic
#3F28BD #BD3F28 #28BD3F
tetradic
#3F28BD #BD285B #A6BD28 #28BD8A
square
#3F28BD #BD285B #A6BD28 #28BD8A
split-complementary
#3F28BD #BD8A28 #5BBD28
monochromatic
#1D1358 #2E1D8A #3F28BD #604AD9 #8C7CE3

Accessibility & contrast

On white

9.33
#3F28BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3F28BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F28BD
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F28BD#FFFFFF#000000##FFFFFF
##3F28BD1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC1
Deuteranopia (green-blind)
#0041BA
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3f28bd;
/* rgb */ color: rgb(63, 40, 189);
/* oklch */ color: oklch(42.0% 0.215 278.8);
Tailwind
colors: {
  custom: {
    50: '#8666d2',
    500: '#3f28bd',
    950: '#000000',
  },
}
SCSS
$custom: #3f28bd;
$custom-light: #8666d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f28bd",
  "rgb": {
    "r": 63,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 249.262,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4201,
    "c": 0.21508,
    "h": 278.8
  },
  "luminance": 0.06248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F28BD

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

Preview Lab → · Contrast checker → · Palette generator →

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