#3B28BA#3B28BA

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

Color values

HEX#3B28BA
RGBrgb(59, 40, 186)
HSLhsl(248, 65%, 44%)
HSVhsv(248, 78%, 73%)
CMYKcmyk(68.3%, 78.5%, 0%, 27.1%)
CIE-LABlab(29.39, 51.09, -72.89)
CIE-LCHlch(29.39, 89.01, 305.03°)
OKLaboklab(41.39% 0.0279 -0.2106)
OKLCHoklch(41.39% 0.212 277.6)
XYZxyz(11.4225, 5.9916, 46.9994)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28BA #A7BA28
analogous
#285EBA #3B28BA #8428BA
triadic
#3B28BA #BA3B28 #28BA3B
tetradic
#3B28BA #BA285E #A7BA28 #28BA84
square
#3B28BA #BA285E #A7BA28 #28BA84
split-complementary
#3B28BA #BA8428 #5EBA28
monochromatic
#1B1255 #2B1D88 #3B28BA #5A48D8 #887AE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B28BA#FFFFFF#000000##FFFFFF
##3B28BA1.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)
#004BBE
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3b28ba;
/* rgb */ color: rgb(59, 40, 186);
/* oklch */ color: oklch(41.4% 0.212 277.6);
Tailwind
colors: {
  custom: {
    50: '#8366d0',
    500: '#3b28ba',
    950: '#000000',
  },
}
SCSS
$custom: #3b28ba;
$custom-light: #8366d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28ba",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 247.808,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41391,
    "c": 0.21245,
    "h": 277.6
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#3B28BA
secondary
#BFCA73
accent
#E840D2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3B28BA

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

Preview Lab → · Contrast checker → · Palette generator →

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