#3B28B1#3B28B1

#3B28B1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.4% C 0.202 H 278.6°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3B28B1
RGBrgb(59, 40, 177)
HSLhsl(248, 63%, 43%)
HSVhsv(248, 77%, 69%)
CMYKcmyk(66.7%, 77.4%, 0%, 30.6%)
CIE-LABlab(28.43, 48.35, -69.11)
CIE-LCHlch(28.43, 84.35, 304.98°)
OKLaboklab(40.44% 0.0303 -0.1996)
OKLCHoklch(40.44% 0.202 278.6)
XYZxyz(10.4957, 5.6208, 42.1183)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28B1 #9EB128
analogous
#285AB1 #3B28B1 #7F28B1
triadic
#3B28B1 #B13B28 #28B13B
tetradic
#3B28B1 #B1285A #9EB128 #28B17F
square
#3B28B1 #B1285A #9EB128 #28B17F
split-complementary
#3B28B1 #B17F28 #5AB128
monochromatic
#1A114D #2A1D7F #3B28B1 #5642D4 #8374E0

Accessibility & contrast

On white

9.89
#3B28B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3B28B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B28B1
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B28B1#FFFFFF#000000##FFFFFF
##3B28B11.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b28b1;
/* rgb */ color: rgb(59, 40, 177);
/* oklch */ color: oklch(40.4% 0.202 278.6);
Tailwind
colors: {
  custom: {
    50: '#8165ca',
    500: '#3b28b1',
    950: '#000000',
  },
}
SCSS
$custom: #3b28b1;
$custom-light: #8165ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28b1",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 248.321,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40439,
    "c": 0.20189,
    "h": 278.6
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#3B28B1
secondary
#BBC76E
accent
#E642CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B28B1

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

Preview Lab → · Contrast checker → · Palette generator →

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