#3B28B2#3B28B2

#3B28B2 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.203 H 278.5°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#3B28B2
RGBrgb(59, 40, 178)
HSLhsl(248, 63%, 43%)
HSVhsv(248, 78%, 70%)
CMYKcmyk(66.9%, 77.5%, 0%, 30.2%)
CIE-LABlab(28.54, 48.66, -69.54)
CIE-LCHlch(28.54, 84.87, 304.98°)
OKLaboklab(40.54% 0.03 -0.2008)
OKLCHoklch(40.54% 0.203 278.5)
XYZxyz(10.5957, 5.6608, 42.6451)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28B2 #9FB228
analogous
#285AB2 #3B28B2 #8028B2
triadic
#3B28B2 #B23B28 #28B23B
tetradic
#3B28B2 #B2285A #9FB228 #28B280
square
#3B28B2 #B2285A #9FB228 #28B280
split-complementary
#3B28B2 #B28028 #5AB228
monochromatic
#1A124E #2A1D80 #3B28B2 #5743D5 #8375E0

Accessibility & contrast

On white

9.85
#3B28B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3B28B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B28B2
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B28B2#FFFFFF#000000##FFFFFF
##3B28B21.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#003EB0
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3b28b2;
/* rgb */ color: rgb(59, 40, 178);
/* oklch */ color: oklch(40.5% 0.203 278.5);
Tailwind
colors: {
  custom: {
    50: '#8265ca',
    500: '#3b28b2',
    950: '#000000',
  },
}
SCSS
$custom: #3b28b2;
$custom-light: #8265ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28b2",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 248.261,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40544,
    "c": 0.20307,
    "h": 278.5
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

primary
#3B28B2
secondary
#BBC76F
accent
#E641D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B28B2

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

Preview Lab → · Contrast checker → · Palette generator →

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