#3F28B6#3F28B6

#3F28B6 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.3% C 0.207 H 279.6°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#3F28B6
RGBrgb(63, 40, 182)
HSLhsl(250, 64%, 44%)
HSVhsv(250, 78%, 71%)
CMYKcmyk(65.4%, 78%, 0%, 28.6%)
CIE-LABlab(29.29, 50.28, -70.67)
CIE-LCHlch(29.29, 86.74, 305.43°)
OKLaboklab(41.28% 0.0346 -0.204)
OKLCHoklch(41.28% 0.207 279.6)
XYZxyz(11.2495, 5.9508, 44.8027)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F28B6 #9FB628
analogous
#2858B6 #3F28B6 #8628B6
triadic
#3F28B6 #B63F28 #28B63F
tetradic
#3F28B6 #B62858 #9FB628 #28B686
square
#3F28B6 #B62858 #9FB628 #28B686
split-complementary
#3F28B6 #B68628 #58B628
monochromatic
#1C1252 #2E1D84 #3F28B6 #5D45D6 #8877E1

Accessibility & contrast

On white

9.59
#3F28B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3F28B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F28B6
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F28B6#FFFFFF#000000##FFFFFF
##3F28B61.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#003FB3
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f28b6;
/* rgb */ color: rgb(63, 40, 182);
/* oklch */ color: oklch(41.3% 0.207 279.6);
Tailwind
colors: {
  custom: {
    50: '#8466cd',
    500: '#3f28b6',
    950: '#000000',
  },
}
SCSS
$custom: #3f28b6;
$custom-light: #8466cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f28b6",
  "rgb": {
    "r": 63,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 249.718,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41275,
    "c": 0.20697,
    "h": 279.6
  },
  "luminance": 0.05952
}

Semantic roles & 50–950 ramp

primary
#3F28B6
secondary
#BBC971
accent
#E741CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3F28B6

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

Preview Lab → · Contrast checker → · Palette generator →

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