#3F28B7#3F28B7

#3F28B7 is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.4% C 0.208 H 279.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#3F28B7
RGBrgb(63, 40, 183)
HSLhsl(250, 64%, 44%)
HSVhsv(250, 78%, 72%)
CMYKcmyk(65.6%, 78.1%, 0%, 28.2%)
CIE-LABlab(29.39, 50.58, -71.10)
CIE-LCHlch(29.39, 87.25, 305.43°)
OKLaboklab(41.38% 0.0344 -0.2053)
OKLCHoklch(41.38% 0.208 279.5)
XYZxyz(11.3532, 5.9923, 45.3489)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F28B7 #A0B728
analogous
#2858B7 #3F28B7 #8628B7
triadic
#3F28B7 #B73F28 #28B73F
tetradic
#3F28B7 #B72858 #A0B728 #28B786
square
#3F28B7 #B72858 #A0B728 #28B786
split-complementary
#3F28B7 #B78628 #58B728
monochromatic
#1C1253 #2E1D85 #3F28B7 #5D46D6 #8978E1

Accessibility & contrast

On white

9.55
#3F28B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3F28B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F28B7
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F28B7#FFFFFF#000000##FFFFFF
##3F28B71.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABB
Deuteranopia (green-blind)
#0040B4
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f28b7;
/* rgb */ color: rgb(63, 40, 183);
/* oklch */ color: oklch(41.4% 0.208 279.5);
Tailwind
colors: {
  custom: {
    50: '#8466ce',
    500: '#3f28b7',
    950: '#000000',
  },
}
SCSS
$custom: #3f28b7;
$custom-light: #8466ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3f28b7",
  "rgb": {
    "r": 63,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 249.65,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41379,
    "c": 0.20814,
    "h": 279.5
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F28B7

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

Preview Lab → · Contrast checker → · Palette generator →

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