#3B28A6#3B28A6

#3B28A6 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.189 H 280.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#3B28A6
RGBrgb(59, 40, 166)
HSLhsl(249, 61%, 40%)
HSVhsv(249, 76%, 65%)
CMYKcmyk(64.5%, 75.9%, 0%, 34.9%)
CIE-LABlab(27.30, 44.95, -64.38)
CIE-LCHlch(27.30, 78.52, 304.93°)
OKLaboklab(39.3% 0.033 -0.1858)
OKLCHoklch(39.3% 0.189 280.1)
XYZxyz(9.4432, 5.1998, 36.5750)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28A6 #93A628
analogous
#2854A6 #3B28A6 #7A28A6
triadic
#3B28A6 #A63B28 #28A63B
tetradic
#3B28A6 #A62854 #93A628 #28A67A
square
#3B28A6 #A62854 #93A628 #28A67A
split-complementary
#3B28A6 #A67A28 #54A628
monochromatic
#181043 #291C75 #3B28A6 #523BD0 #7D6DDC

Accessibility & contrast

On white

10.29
#3B28A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3B28A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B28A6
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B28A6#FFFFFF#000000##FFFFFF
##3B28A61.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3b28a6;
/* rgb */ color: rgb(59, 40, 166);
/* oklch */ color: oklch(39.3% 0.189 280.1);
Tailwind
colors: {
  custom: {
    50: '#7f65c2',
    500: '#3b28a6',
    950: '#000000',
  },
}
SCSS
$custom: #3b28a6;
$custom-light: #7f65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28a6",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 249.048,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.393,
    "c": 0.18872,
    "h": 280.1
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#3B28A6
secondary
#B5C267
accent
#E444CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B28A6

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

Preview Lab → · Contrast checker → · Palette generator →

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