#3B28B3#3B28B3

#3B28B3 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.6% C 0.204 H 278.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#3B28B3
RGBrgb(59, 40, 179)
HSLhsl(248, 63%, 43%)
HSVhsv(248, 78%, 70%)
CMYKcmyk(67%, 77.7%, 0%, 29.8%)
CIE-LABlab(28.65, 48.96, -69.96)
CIE-LCHlch(28.65, 85.39, 304.99°)
OKLaboklab(40.65% 0.0298 -0.2021)
OKLCHoklch(40.65% 0.204 278.4)
XYZxyz(10.6965, 5.7012, 43.1758)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28B3 #A0B328
analogous
#285BB3 #3B28B3 #8028B3
triadic
#3B28B3 #B33B28 #28B33B
tetradic
#3B28B3 #B3285B #A0B328 #28B380
square
#3B28B3 #B3285B #A0B328 #28B380
split-complementary
#3B28B3 #B38028 #5BB328
monochromatic
#1A124F #2B1D81 #3B28B3 #5743D5 #8475E0

Accessibility & contrast

On white

9.81
#3B28B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3B28B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B28B3
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B28B3#FFFFFF#000000##FFFFFF
##3B28B31.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b28b3;
/* rgb */ color: rgb(59, 40, 179);
/* oklch */ color: oklch(40.6% 0.204 278.4);
Tailwind
colors: {
  custom: {
    50: '#8266cb',
    500: '#3b28b3',
    950: '#000000',
  },
}
SCSS
$custom: #3b28b3;
$custom-light: #8266cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28b3",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 248.201,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40649,
    "c": 0.20425,
    "h": 278.4
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B28B3

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

Preview Lab → · Contrast checker → · Palette generator →

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