#3B28B7#3B28B7

#3B28B7 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.1% C 0.209 H 277.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#3B28B7
RGBrgb(59, 40, 183)
HSLhsl(248, 64%, 44%)
HSVhsv(248, 78%, 72%)
CMYKcmyk(67.8%, 78.1%, 0%, 28.2%)
CIE-LABlab(29.07, 50.18, -71.64)
CIE-LCHlch(29.07, 87.47, 305.01°)
OKLaboklab(41.07% 0.0287 -0.207)
OKLCHoklch(41.07% 0.209 277.9)
XYZxyz(11.1069, 5.8653, 45.3374)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28B7 #A4B728
analogous
#285CB7 #3B28B7 #8228B7
triadic
#3B28B7 #B73B28 #28B73B
tetradic
#3B28B7 #B7285C #A4B728 #28B782
square
#3B28B7 #B7285C #A4B728 #28B782
split-complementary
#3B28B7 #B78228 #5CB728
monochromatic
#1B1253 #2B1D85 #3B28B7 #5946D6 #8678E1

Accessibility & contrast

On white

9.66
#3B28B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3B28B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B28B7
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B28B7#FFFFFF#000000##FFFFFF
##3B28B71.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b28b7;
/* rgb */ color: rgb(59, 40, 183);
/* oklch */ color: oklch(41.1% 0.209 277.9);
Tailwind
colors: {
  custom: {
    50: '#8366ce',
    500: '#3b28b7',
    950: '#000000',
  },
}
SCSS
$custom: #3b28b7;
$custom-light: #8366ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28b7",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 247.972,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41072,
    "c": 0.20895,
    "h": 277.9
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#3B28B7
secondary
#BEC972
accent
#E741D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3B28B7

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

Preview Lab → · Contrast checker → · Palette generator →

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