#3B28B6#3B28B6

#3B28B6 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.0% C 0.208 H 278.0°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#3B28B6
RGBrgb(59, 40, 182)
HSLhsl(248, 64%, 44%)
HSVhsv(248, 78%, 71%)
CMYKcmyk(67.6%, 78%, 0%, 28.6%)
CIE-LABlab(28.96, 49.88, -71.22)
CIE-LCHlch(28.96, 86.95, 305.00°)
OKLaboklab(40.97% 0.029 -0.2057)
OKLCHoklch(40.97% 0.208 278)
XYZxyz(11.0032, 5.8238, 44.7912)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28B6 #A3B628
analogous
#285CB6 #3B28B6 #8228B6
triadic
#3B28B6 #B63B28 #28B63B
tetradic
#3B28B6 #B6285C #A3B628 #28B682
square
#3B28B6 #B6285C #A3B628 #28B682
split-complementary
#3B28B6 #B68228 #5CB628
monochromatic
#1A1252 #2B1D84 #3B28B6 #5845D6 #8577E1

Accessibility & contrast

On white

9.70
#3B28B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B28B6
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B28B6#FFFFFF#000000##FFFFFF
##3B28B61.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#003EB4
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3b28b6;
/* rgb */ color: rgb(59, 40, 182);
/* oklch */ color: oklch(41.0% 0.208 278.0);
Tailwind
colors: {
  custom: {
    50: '#8366cd',
    500: '#3b28b6',
    950: '#000000',
  },
}
SCSS
$custom: #3b28b6;
$custom-light: #8366cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28b6",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 248.028,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.40966,
    "c": 0.20778,
    "h": 278
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B28B6

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

Preview Lab → · Contrast checker → · Palette generator →

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