#3A28BA#3A28BA

#3A28BA is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.3% C 0.213 H 277.2°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#3A28BA
RGBrgb(58, 40, 186)
HSLhsl(247, 65%, 44%)
HSVhsv(247, 78%, 73%)
CMYKcmyk(68.8%, 78.5%, 0%, 27.1%)
CIE-LABlab(29.31, 51.00, -73.02)
CIE-LCHlch(29.31, 89.06, 304.93°)
OKLaboklab(41.32% 0.0266 -0.211)
OKLCHoklch(41.32% 0.213 277.2)
XYZxyz(11.3638, 5.9613, 46.9966)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A28BA #A8BA28
analogous
#285FBA #3A28BA #8328BA
triadic
#3A28BA #BA3A28 #28BA3A
tetradic
#3A28BA #BA285F #A8BA28 #28BA83
square
#3A28BA #BA285F #A8BA28 #28BA83
split-complementary
#3A28BA #BA8328 #5FBA28
monochromatic
#1B1255 #2A1D88 #3A28BA #5948D8 #877AE2

Accessibility & contrast

On white

9.58
#3A28BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3A28BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A28BA
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A28BA#FFFFFF#000000##FFFFFF
##3A28BA1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.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: #3a28ba;
/* rgb */ color: rgb(58, 40, 186);
/* oklch */ color: oklch(41.3% 0.213 277.2);
Tailwind
colors: {
  custom: {
    50: '#8366d0',
    500: '#3a28ba',
    950: '#000000',
  },
}
SCSS
$custom: #3a28ba;
$custom-light: #8366d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3a28ba",
  "rgb": {
    "r": 58,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 247.397,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41318,
    "c": 0.21267,
    "h": 277.2
  },
  "luminance": 0.05962
}

Semantic roles & 50–950 ramp

primary
#3A28BA
secondary
#C0CA73
accent
#E840D3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3A28BA

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

Preview Lab → · Contrast checker → · Palette generator →

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